Support
Tickets and attachments.
Operations
- GETList support departments
/support/departments - GETList tickets
/tickets - POSTOpen a ticket
/tickets - GETGet a ticket
/tickets/{ticketId} - POSTReply to a ticket
/tickets/{ticketId}/replies - POSTClose a ticket
/tickets/{ticketId}/close - POSTStart an attachment upload
/attachments - POSTFinish an attachment upload
/attachments/{attachmentId}/complete - GETGet an attachment
/attachments/{attachmentId}
The Ticket object
A support ticket.
Attributes
objectstringRequiredThe object's type. Always "ticket".
idstring (uuid)RequiredThe ticket's id.
referencestringRequiredThe ticket's reference, such as CX-1482.
subjectstringRequiredThe subject.
statusstringRequiredopen, in_progress, awaiting_customer (staff replied and wait for you), customer_replied or closed.
One ofopenin_progressawaiting_customercustomer_repliedclosedprioritystringRequiredlow, normal, high or urgent.
One oflownormalhighurgentdepartmentobjectRequiredThe ticket's department.
Show 3 child attributesHide 3 child attributes
objectstringRequiredThe object's type. Always "department".
idstring (uuid)RequiredThe department's id.
namestringRequiredIts name.
unreadintegerRequiredStaff messages you have not read in the panel.
messagesarray of TicketMessageRequiredThe messages, oldest first. Empty in listTickets; filled by getTicket and createTicket.
Show 6 child attributesHide 6 child attributes
idstring (uuid)RequiredThe message's id.
authorobjectRequiredWho wrote it.
Show 2 child attributesHide 2 child attributes
typestringRequiredcustomer or staff.
One ofcustomerstaffnamestring or nullRequiredThe author's name, or null.
bodystringRequiredThe message text.
attachmentsarray of TicketAttachmentRequiredFiles on the message.
Show 5 child attributesHide 5 child attributes
idstring (uuid)RequiredThe attachment's id. Get a download link with getAttachment.
filenamestringRequiredThe file name.
sizeintegerRequiredBytes.
typestringRequiredThe media type, sniffed from the file.
removedAtstring (date-time) or nullRequiredWhen staff removed it, or null.
createdAtstring (date-time)RequiredWhen it was written.
redactedAtstring (date-time) or nullRequiredWhen staff redacted it, or null.
createdAtstring (date-time)RequiredWhen it was opened.
updatedAtstring (date-time)RequiredWhen it last changed.
lastActivityAtstring (date-time)RequiredThe last message's time.
closedAtstring (date-time) or nullRequiredWhen it was closed, or null.
livemodebooleanRequiredTrue for objects of your live account.
{
"object": "ticket",
"id": "7c3e9a1d-2b5f-4a8c-9e6d-4f1b0a7c2e9b",
"reference": "CX-1482",
"subject": "IPv6 unreachable on node1",
"status": "open",
"priority": "high",
"department": {
"object": "department",
"id": "d2f7a4c1-9b3e-4c6a-8e1f-5a0d7b2c9e4f",
"name": "Technical support"
},
"unread": 0,
"messages": [
{
"id": "b4a7e2c9-1d6f-4e3b-a9c5-8e2d1f0b7a6c",
"author": {
"type": "customer",
"name": "Acme Hosting"
},
"body": "node1 lost its IPv6 route after the restart at 09:20 UTC. IPv4 works.",
"attachments": [
{
"id": "6e1d9b4a-3c7f-4a2e-b8d6-0f5c2a9e1b7d",
"filename": "mtr-ipv6.txt",
"size": 2048,
"type": "text/plain",
"removedAt": null
}
],
"createdAt": "2026-12-04T09:31:10Z",
"redactedAt": null
}
],
"createdAt": "2026-12-04T09:31:10Z",
"updatedAt": "2026-12-04T09:31:10Z",
"lastActivityAt": "2026-12-04T09:31:10Z",
"closedAt": null,
"livemode": true
}