External API
List tickets
List every ticket created in a date range, with its customer, status, assignee and tags.
Lists every ticket created in a date range – for example, to report on tickets in your own BI tool. Nothing changes in Proto. Not sure how to send a request? See Make your first request.
Request
Send a GET request to:
https://v3-api.proto.cx/api/platform/v1/conversations/YOUR_TEAMSPACE_ID/2026-11-01T00:00:00/2026-11-17T23:59:59/tickets
In the address, replace anything starting with YOUR_ with your own, and the dates with your range:
| Part | What it is |
|---|---|
2026-11-01T00:00:00 | The start of the range, as a UTC time YYYY-MM-DDTHH:MM:SS or a date YYYY-MM-DD. Don’t add Z or a time zone. |
2026-11-17T23:59:59 | The end of the range, in the same format. Both ends are included, and the range can be up to 31 days. |
Important: a date on its own means midnight at the start of that day. To include all of 17 November, end at
2026-11-17T23:59:59, not2026-11-17.
Response
Proto replies 200 OK with a list of tickets, newest first. All of them come back at once – there are no pages.
[
{
"id": "01JD2X7Q8M3N4P5R6S7T8V9W0X",
"short_id": "6S7T8V9W0X",
"status": "open",
"last_msg_sent_at": "2026-11-04T14:02:55.310000+00:00",
"created_at": "2026-11-04T13:58:12.004000+00:00",
"gateway_profile": {
"id": "01JD2X7Q7B1C2D3E4F5G6H7J8K",
"gateway_type": "email",
"gateway_user_id": "amara.okafor@example.com",
"customer": {
"id": "01JD2X7Q7A1B2C3D4E5F6G7H8J",
"external_customer_id": null,
"provided_unique_id": null,
"name": "Amara Okafor",
"location": null,
"email": "amara.okafor@example.com",
"phone_number": null,
"avatar": null
}
},
"assignee": { "id": "01HX5A6B7C8D9E0F1G2H3J4K5M", "type": "user" },
"team_assignees": [{ "id": "01J0TEAMABCDEF1234567890AB" }],
"tags": [],
"tag_groups": [],
"message_count": 3
}
]
| Field | What it is |
|---|---|
short_id | The ticket’s number, as shown in email subjects such as [Ticket #6S7T8V9W0X] |
status | pending, open, overdue, resolved or closed – shown in Proto as Pending, Open, Overdue, Resolved and Closed |
gateway_profile | The customer’s email profile. gateway_type is always email, and gateway_user_id is their email address. |
gateway_profile. | Proto’s own ID for the customer, shown as Person ID |
gateway_profile. | Their ID on a channel, shown as Channel ID |
gateway_profile. | Your ID for the customer, shown as Unique ID |
assignee | The live agent assigned now, with their user ID. type is always user. |
team_assignees | Every team it’s been assigned to, including past ones |
tags | The ticket’s tags, each with its id and tag – the name |
tag_groups | The ticket’s tag groups, each with its id, name and tags |
message_count | How many messages it has, including internal notes |
Times are in UTC. For custom fields and full assignment history, use Get conversation details.
Errors
| You get | What it means |
|---|---|
400 | A date is in the wrong format, the start is after the end, the range is longer than 31 days or 20,000 or more tickets match – use a shorter range. The message says which. |
For errors any request can return, see If something goes wrong.