Get a ticket
/tickets/{ticketId}Use this to read a ticket's conversation.
- Token
- Bearer API token: cxk_live_ followed by 46 letters and digits
- Scope
tickets:read- Header
Authorization: Bearer $CLOUDUXE_API_KEY
How tokens and scopes work: Authentication and scopes.
ticketIdstring (uuid)RequiredThe ticket's id.
Clouduxe-VersionstringOptionalThe API version to use, such as 2026-12-01. Omit it to use your token's version.
pattern ^[0-9]{4}-[0-9]{2}-[0-9]{2}$
200OK The ticket.
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.
Every response
- 200OKThe ticket.
- 400Bad requestThe request is not valid. Codes: version_invalid.
- 401UnauthorizedAuthentication failed. Codes: token_missing, token_invalid, token_expired, token_revoked.
- 403ForbiddenThe token is not allowed to do this. Codes: forbidden, ip_not_allowed, api_access_disabled, scope_missing.
- 404Not foundNot found. Codes: not_found.
- 429Too many requestsA rate limit was reached. Codes: rate_limited.
- 500Server errorUnexpected error. Codes: internal_error.
- 503UnavailableTemporarily unavailable. Codes: unavailable.