Skip to main content
Returns a paginated list of tickets in your organization, ordered by the sort field. A ticket is the case container: it always has one primary conversation with the requester, plus any side conversations. To export everything since a point in time, page this endpoint with an updatedAt[gte] filter, then fetch each changed ticket’s threads.

Authentication

Bearer token in the Authorization header. See Authentication.

Query parameters

Pagination

integer
default:"20"
Number of tickets per page. Range 1100.
string
Opaque cursor from the previous response’s nextCursor. See Pagination.

Sorting

string
default:"-updatedAt"
Field and direction. Prefix with - for descending. One of:
  • createdAt
  • -createdAt
  • updatedAt
  • -updatedAt

Filters

string | string[]
Filter by ticket status. Repeat the parameter to match multiple values (e.g. ?status=open&status=snoozed). Matching is exact — resolved does not include assumed_resolved. One of:
  • open
  • snoozed
  • resolved
  • assumed_resolved
  • closed

Date range

Use either createdAt or updatedAt ranges — not both. Mixing them returns 422 conflicting_date_range.
string (ISO 8601)
Only return tickets created on or after this timestamp.
string (ISO 8601)
Only return tickets created on or before this timestamp.
string (ISO 8601)
Only return tickets updated on or after this timestamp.
string (ISO 8601)
Only return tickets updated on or before this timestamp.

Response

Returns a list envelope containing Ticket objects.

The Ticket object

string
Unique identifier prefixed with ti_.
string
Always "ticket".
string
Ticket subject or summary.
string
Ticket lifecycle status. One of the values listed under the status query parameter.
object
The contact the ticket is for.
array
Tags applied to the ticket.
array
Topics applied to the ticket.
integer | null
AI-estimated customer-satisfaction score for the ticket, from 1 (poor) to 5 (great). null until the ticket has been analyzed — analysis runs after the ticket is resolved.
array
References to every conversation on the ticket, ordered by creation. Exactly one has role: "primary". Fetch a thread via List messages — no ticket detail call needed.
string
ISO 8601 UTC timestamp of ticket creation.
string
ISO 8601 UTC timestamp of the most recent update.

Examples

List the most recently updated tickets

Response

Export everything updated since a timestamp

Walk every page

See the pagination guide for a copy-paste loop in Node and Python.

Error responses

See Errors for the full error envelope reference.