Skip to main content
GET
Search tickets

Authorizations

X-Initdesk-Token
string
header
required

Path Parameters

organization_id
integer
required

Numeric organization id. Get it from GET /organizations/ (id field).

Query Parameters

assignee
integer

Filter tickets assigned to the given organization user ID.

channel
string

Filter by conversation channel type (e.g. email).

classification
enum<string>

Filter tickets by close classification. Omit to include all classifications.

Available options:
,
customer_inactivity,
invalid,
no_response,
other,
resolved
company
string

Filter tickets whose customer currently belongs to this company (UUID). The filter uses the customer's company at the time of the query. More than 10000 members returns 400. An unknown company returns 404. A malformed UUID returns 400.

custom_preset_filter
string

Apply a saved custom preset filter by UUID. Integration tokens may only use organization-shared filters.

email
string

Filter by customer email (case-insensitive exact match).

is_snoozed
boolean

When omitted, no snooze constraint is applied. Pass true for tickets with an active snooze; false to exclude snoozed tickets. Accepted values: true, false (case-insensitive).

is_spam
boolean

When omitted defaults to false. Pass true to include only spam tickets. Accepted values: true, false (case-insensitive).

ordering

Sort field. When you omit ordering and there is no text query, results sort by priority (most urgent first), then relevance, then most recently updated. When you omit ordering and there is a text query, results sort by relevance, then most recently updated. priority is most urgent first (urgent down to not_set). -priority is the reverse. relevance is the best match first. -relevance is the worst match first. _score and -_score are deprecated aliases of relevance and -relevance. They will be removed on 2027-05-10. Other fields use a leading minus for descending order. Allowed fields: id, public_id, subject, description, status, priority, created_at, updated_at, relevance.

Available options:
id,
-id,
public_id,
-public_id,
subject,
-subject,
description,
-description,
status,
-status,
priority,
-priority,
created_at,
-created_at,
updated_at,
-updated_at,
relevance,
-relevance
origin
enum<string>[]

How the ticket was opened. Repeat the parameter or send a comma-separated list. Values: email, api, telegram, whatsapp, and support_portal (shown as Help Center). Unknown values return 400. When origin and origin__in are both set, a ticket matches if it has any listed value. This is not the conversation channel. Use channel for the channel. You cannot set origin when you create a ticket.

Available options:
api,
email,
support_portal,
telegram,
whatsapp
origin__in
enum<string>[]

Deprecated. Use origin. origin and origin__in accept the same values. When both are set, a ticket matches if it has any listed value. This parameter will be removed on 2027-05-10.

Available options:
api,
email,
support_portal,
telegram,
whatsapp
page
integer

A page number within the paginated result set.

page_size
integer

Number of results to return per page.

preset_filter
enum<string>

Apply a predefined filter. Allowed values: needs_attention, focused

Available options:
focused,
needs_attention
priority
enum<string>

Filter tickets by priority. not_set matches tickets that have not been triaged.

Available options:
high,
low,
medium,
not_set,
urgent
query
string

Text to search for. search is an alias.

tags
string[]

Filter by tag name (case-insensitive). Repeat the parameter to match tickets with any of the listed tags (e.g. ?tags=urgent&tags=vip).

waiting_on
enum<string>

Filter by waiting_on status.

Available options:
,
associate,
customer

Response

200 - application/json
count
integer
required
Example:

123

results
object[]
required
next
string<uri> | null
Example:

"http://api.example.org/accounts/?page=4"

previous
string<uri> | null
Example:

"http://api.example.org/accounts/?page=2"