List all Tickets

GET/api/tickets

Headers

FieldTypeDescription
authtoken String Authentication token, generated from admin area
curl -X GET "https://yoursite.com/api/tickets" \
  -H "authtoken: YOUR_API_TOKEN"

Success-Response:

{
  "id": "1",
  "client_id": "2",
  "project_id": "0",
  "ticket_type_id": "1",
  "title": "Title",
  "created_by": "1",
  "requested_by": "4",
  "created_at": "2021-09-12 06:47:36",
  "status": "new",
  "last_activity_at": "2021-09-12 06:47:36",
  "assigned_to": "3",
  "creator_name": "",
  "creator_email": "",
  "labels": "9,10",
  "task_id": "0",
  "closed_at": "0000-00-00 00:00:00",
  "deleted": "0",
  "ticket_type": "General Support",
  "company_name": "Company",
  "project_title": null,
  "task_title": null,
 "assigned_to_user": "john doe",
  "assigned_to_avatar": null,
  "labels_list": "9--::--label 2--::--#ad159e,10--::--label 3--::--#29c2c2",
  "requested_by_name": "john doe"
	}
MethodGET
Path/api/tickets
GroupTickets
Sincev1.0.0
Defined inRestApi/Controllers/TicketsController.php