Skip to main content
POST
Search Tickets

Authentication and permissions

Token requirements: User-based token (OAuth) or Organization-scoped API key or Team-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. Team keys must allow every team checked by the request. OAuth access depends on the user’s roles and resource access.
  • Search specified teams: Supply team_ids. Every requested team must be allowed.
  • Search the organization: Omitting team_ids searches the organization and requires an organization-scoped key. A signed-in user instead sees their own teams plus tickets on any team that they requested, are assigned, or subscribe to, except team-only tickets on teams they are not on.

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 teams. If not provided, searches all accessible teams.

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 team, so combine this with team_ids; without it the search spans every accessible team and can return one ticket per team 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.