Skip to main content

Get ticket details

Returns a single email ticket by its ticket ID — status, assignee, priority, tags, custom fields, SLA fields, and the requester's uid.

Use the returned uid with Get ticket conversation to read the full email thread.

Note: ticketing APIs always respond with HTTP 200. Check success and code in the body to detect failures.

Path Parameters
id integer — REQUIRED

Ticket ID (the numeric ticketId shown in Inbox, not the internal row id).

Example: 1024

Query Parameters
botId string — REQUIRED

ID of the AI agent (bot).

Example: x1715164928057

Responses
200

Ticket found (or an error envelope — check success).

Schema — OPTIONAL
success boolean — OPTIONAL

Present and true on success.

code integer — OPTIONAL

Logical status code (200 on success; 400/401/403/500 on failure).

data — OPTIONAL

Response payload on success.

message string — OPTIONAL

Error message on failure.