Get a ticket with its conversation
curl --request GET \ --url https://example.com/api/v1/tickets/example \ --header 'Authorization: Bearer <token>'Returns one helpdesk ticket: its fields, the client it belongs to, the member who opened it, assignees, tags, integration metadata and every message oldest first with its attachments and, for a team caller, whether its email to the client was sent, delivered, bounced or failed (emailDelivery) and, on a ticket opened by text, whether it was texted and the text delivered (smsDelivery). The id may also be the short code people quote (e.g. 9W03V9). Internal notes are included only for a caller holding tickets.manage. Requires the tickets.view permission; without tickets.view_all only tickets the caller can reach are found.
Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”Resource identifier (CUID2).
Resource identifier (CUID2).
Responses
Section titled “Responses”The ticket.
object
One helpdesk ticket with its whole conversation.
object
object
False when the client no longer receives emails about this ticket.
Short code people quote to name the ticket, e.g. 9W03V9.
Staff-only note on the ticket.
Captured sender email for a lead ticket (no client match). Null once matched.
Captured sender name for a lead ticket (no client match). Null once matched.
The conversation, oldest first.
object
object
Link that opens the file; a signed link stays valid for one hour.
Stored message body (HTML or plain text).
The latest email this message went out in to the client: PENDING, SENT, FAILED, DELAYED, DELIVERED, BOUNCED or COMPLAINED, or SKIPPED when it was deliberately not sent. Null when nothing was recorded, and always null for a caller who is not on the team.
object
When the email reached its current status.
Why it failed or bounced, or for SKIPPED why it was not sent: client_emails_off, client_notifications_off, awaiting_invitation, no_recipient, sent_directly, template_disabled, channel_thread, channel_thread_failed or sent_by_text.
Addresses it went to, comma-separated.
Real “Name
A staff-only note. Included only for a caller holding tickets.manage.
Texted to the requester instead of emailed (POST /tickets/{id}/texts, or Text (SMS) in the composer).
The latest text a team reply went out in, to the ticket’s phone (smsNumber), or for a message sent by text to the requester’s phone: PENDING, SENT, DELIVERED, UNDELIVERED or FAILED, or SKIPPED when it was deliberately not texted. Null when nothing was recorded, and always null for a caller who is not on the team.
object
The provider took the text (it has a message id), so a delivery report may still move it.
When the text reached its current status.
Telnyx’s error code for a refused or undelivered text.
For SKIPPED why it was not texted: module_off, not_connected, texting_off, incoming_off, replies_off, opted_out, too_old, nothing_to_text or invalid_number. For FAILED or UNDELIVERED why: credentials, token_unreadable (the saved API key cannot be read), recipient, sender, region, registration (the number is not registered for business texting), opted_out, rejected, unavailable, rate_limited, internal_error when Chelsea could not send it and Telnyx was never called, or unconfirmed when Telnyx never answered and the text may have gone out. For PENDING why the last try was put off.
The phone texted, E.164.
Key/value pairs written by external systems (see PUT /tickets/{id}/metadata).
object
How the value is validated and displayed: text, paragraph, number, date, url or checkbox.
Workspace-scoped sequential ticket number.
Member who opened the ticket; the workspace’s system account for one opened by email, or by a text from a number no contact has (see smsNumber).
object
E.164 phone of a ticket opened by an incoming text, or the requester’s phone once the team texted them from the ticket: its texts land on this ticket while it is open. Who asked when no contact has that number.
Where the ticket originated from: the client portal, inbound email, the REST API/MCP surface, an in-app agent, or an incoming text (SMS).
A workspace-defined helpdesk ticket status.
object
SLA-relevant grouping. WAITING_ON_CLIENT pauses the SLA clock (see the SLA settings); every other category runs it.
Entering this status closes the ticket (sets closedAt).
Ticket tags from the workspace’s ticket tag catalog.
object
How many internal work tasks are linked to the ticket (see POST /tickets/{id}/promote).
Example
{ "data": { "messages": [ { "emailDelivery": { "status": "SKIPPED" }, "smsDelivery": { "status": "PENDING" } } ], "metadata": [ { "type": "text" } ], "priority": "NONE", "source": "PORTAL", "status": { "category": "OPEN" } }}Unauthorized.
Standard error envelope.
object
object
Stable machine-readable error code.
Human-readable error message.
HTTP status code, mirrored in the body.
Example
{ "error": { "code": "UNAUTHORIZED" }}Forbidden.
Standard error envelope.
object
object
Stable machine-readable error code.
Human-readable error message.
HTTP status code, mirrored in the body.
Example
{ "error": { "code": "UNAUTHORIZED" }}Not found.
Standard error envelope.
object
object
Stable machine-readable error code.
Human-readable error message.
HTTP status code, mirrored in the body.
Example
{ "error": { "code": "UNAUTHORIZED" }}Rate limit exceeded. Wait for Retry-After before retrying.
Standard error envelope.
object
object
Stable machine-readable error code.
Human-readable error message.
HTTP status code, mirrored in the body.
Example
{ "error": { "code": "UNAUTHORIZED" }}Headers
Section titled “Headers”Maximum requests in the current quota window.
Quota policy in requests and window seconds, for example 60;w=60.
Requests left in this quota window (zero when blocked).
Seconds until the current quota window resets, when available from the rate-limit store.
Seconds until another request may be attempted.
Chelsea is operated by Arepa Labs LLC