This endpoint allows you to list the tickets opened on your account.
Listing Tickets
A GET returns the tickets for your organization, most recent first.
- uuid - the UUID of the ticket, filterable as
uuid
. - contact - the UUID and name of the contact (object), filterable as
contact
with UUID. - status - the status of the ticket, either
open
orclosed
. - topic - the topic of the ticket (object).
- assignee - the user assigned to the ticket (object).
- opened_on - when this ticket was opened (datetime).
- opened_by - the user who opened the ticket (object).
- opened_in - the flow which opened the ticket (object).
- modified_on - when this ticket was last modified (datetime).
- closed_on - when this ticket was closed (datetime).
Example:
GET /api/v2/tickets.json
Response:
{
"next": null,
"previous": null,
"results": [
{
"uuid": "9a8b001e-a913-486c-80f4-1356e23f582e",
"contact": {"uuid": "f1ea776e-c923-4c1a-b3a3-0c466932b2cc", "name": "Jim"},
"status": "open",
"topic": {"uuid": "040edbfe-be55-48f3-864d-a4a7147c447b", "name": "Support"},
"assignee": {"email": "bob@flow.com", "name": "Bob McFlow"},
"opened_on": "2013-02-27T09:06:15.456",
"opened_by": null,
"opened_in": {"uuid": "54cd8e2c-6334-49a4-abf9-f0fa8d0971da", "name": "Support Flow"},
"modified_on": "2013-02-27T09:07:18.234",
"closed_on": null
},
...