Skip to main content
GET
List tickets

Authorizations

X-Initdesk-Token
string
header
required

Path Parameters

organization_id
string
required

Organization ID or public ID. A numeric value is the organization id. Any other value is the public id and ignores letter case.

Pattern: ^[-a-zA-Z0-9_]+$

Query Parameters

channel
string

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

company
string

Filter tickets whose customer currently belongs to this company (UUID). Unknown company → 404. Malformed UUID → 400.

customer_id
integer

Filter tickets by customer ID.

is_spam
boolean

When omitted, defaults to false (non-spam only). Set to true to list spam tickets.

ordering
string

Which field to use when ordering the results.

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.

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"