Get Ticket Customer Context
GET/api/support/agent/tickets/:ticket/customer
Returns who the customer behind a ticket is: the tenant (account), the requester, the people who can speak for the account, how much the account has open, its most recently touched tickets, and links out to the tenant's app and the record the ticket was raised from.
support:readGrant this scope to your token under Settings → Developer → Personal Access Tokens.
Path parameters
ticket(integer) — the ticket id.
Response fields (data)
tenant(object, nullable — null when the ticket has no tenant, e.g. email from an unknown sender that was later attached to a ticket without one)id(string) — the tenant idname(string) — the tenant's name, falling back to its iddomain(string, nullable) — the host of the tenant's primary app domain (its*.sku.iodomain when it has several)pod(string) — the pod the tenant lives on (e.g.app1)plan(string, nullable) — the tenant's plan when one is recorded
requester—id(integer, nullable when the requester is not a user),name(string, nullable),email(string, nullable),last_seen_at(ISO-8601, nullable — the user's last login)contacts[]— the tenant's admins and its owner, sorted by name:id,name,email,is_admin(always true),is_owner(boolean)open_count(integer) — the tenant's unresolved tickets (anything not resolved or closed)recent[]— up to 10 of the tenant's most recently updated tickets, newest first:id,number,subject,status,status_label,priority,updated_atlinks—tenant_admin_url(string, nullable — the tenant's dashboard),record_url(string, nullable — the record the ticket was raised from, when its context names a known record type and id),console_url(string — this ticket in the agent console)
Authentication: Bearer token with the support:read scope, or an authenticated session, from a caller with an active support role (any role, including viewer). No tenant context — this endpoint is central.
Request
Responses
- 200
- 401
- 403
- 404
- 429
OK
Response Headers
Unauthorized
Response Headers
Forbidden
Response Headers
Not Found
Response Headers
Rate limited — platform limit is 1,000 requests/min; individual tokens may carry lower limits. Honor the Retry-After header before retrying. See the Rate Limits guide.