Skip to main content
POST
Search Tickets

Authentication and permissions

Token requirements: User-based token (OAuth) or Organization-scoped API key or Workspace-scoped API key. Send a bearer access token for one of these identities. The permissions and resource restrictions below also apply.
Permissions joined by + are all required; or separates alternatives. Full-access keys still cannot call endpoints marked unsupported. Workspace keys must allow every workspace checked by the request. OAuth access depends on the user’s roles and resource access.
  • Search specified workspaces: Supply team_ids. Every requested workspace must be allowed.
  • Search the organization: Omitting team_ids searches the organization and requires an organization-scoped key. A signed-in user instead sees the workspaces they belong to where they can view tickets, plus tickets on any workspace that they requested, are assigned, or subscribe to, except workspace-only tickets on workspaces they are not on. A ticket on a workspace where they cannot view tickets is returned in the requester view, without triage, assignment, or related tickets they cannot open.

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
teamIds
string[]

Optional. Filter to specific workspaces. The caller must be able to view tickets on every listed workspace, or the whole request is denied, so do not pass every workspace from List Workspaces. If not provided, a signed-in user searches the workspaces they belong to and can view tickets on, plus tickets on other workspaces they requested, are assigned, or follow; an API key with organization-wide ticket access searches every workspace. List explicitly any workspace you can view only through an organization role, and the allowed workspaces of a workspace-restricted API key.

assignedToUserIds
string[]

Optional. Only return tickets assigned to any of these users.

requesterUserIds
string[]

Optional. Only return tickets requested by any of these users.

statusIds
string[]

Optional. Filter by status IDs. Returns tickets matching ANY of the specified statuses.

escalationLevels
enum<string>[]

Optional. Filter by escalation levels. Returns tickets matching ANY of the specified levels.

Available options:
AI,
HUMAN
createdAfter
string<date-time> | null

A timestamp in RFC 3339 format (e.g., "2025-01-15T01:30:15Z").

Example:

"2025-01-15T01:30:15.000Z"

createdBefore
string<date-time> | null

A timestamp in RFC 3339 format (e.g., "2025-01-15T01:30:15Z").

Example:

"2025-01-15T01:30:15.000Z"

pageSize
integer<int32> | null

Maximum number of results to return. Default is 1000, maximum is 5000.

pageToken
string | null

Token for pagination. Leave empty for the first request.

externalTicketKeys
string[]

Optional. Only return tickets linked to any of these external tickets. Matches a Jira key ("GMD-29"), a ServiceNow number ("INC0010001", "RITM0010001", or "HRC0010001"), or the internal external ticket id. Matches are exact and case-sensitive.

parentTicketIds
string[]

Optional. Only return tickets whose parent is any of these tickets — the same relationship the response exposes as parent_ticket_id. For a journey ticket this returns its tasks in one request (and for a task, its subtasks), replacing per-ticket child lookups.

ticketNumbers
integer<int32>[]

Optional. Only return tickets with any of these ticket numbers — the numeric half of the human-readable identifier ("5" for "DEV-5"). Numbers are unique only WITHIN a workspace, so combine this with team_ids; without it the search spans every accessible workspace and can return one ticket per workspace for the same number.

maxDescriptionLength
integer<int32> | null

Optional. Shortens each returned description to at most this many characters and omits description_translations; 0 omits descriptions. Use Get Ticket for a ticket's full description.

Response

200 - application/json

Success

data
Ticket · object[]
nextPageToken
string | null

Token for retrieving the next page of results. Empty if no more results.