List Tickets

Return a list of tickets.

Pagination. Every response carries paginator.nextCursor. To get the next page, send it
back as cursor together with the same filters and order; it is null on the last page.
Following nextCursor reaches every ticket, however many there are, and the nextCursor of a
page fetched by number continues right after that page. A page fetched by cursor has no
paginator.currentPage.

page is still accepted, but it only reaches the first 10,000 tickets: a page past that
returns no tickets. paginator.totalItemsCount is capped at 10,000 for the same reason.
Use cursor to go further.

Order. Tickets are ordered by order_by (default last_updated_at) in order_direction
(default desc). Tickets that share that value are ordered by ticket id, in the same direction,
so every ticket has one place in the list and pages neither repeat nor skip one.

Keeping a copy in sync. A ticket updated while you page through the list moves to its new
place: in the default descending order it moves behind your cursor, and that walk misses it.
To sync, page in ascending order instead:

  1. Request order_by=last_updated_at&order_direction=asc and follow nextCursor until it is
    null. A ticket updated during the walk comes back at the end; upsert tickets by id.
  2. Store the largest last_updated_at you received, but no later than the time the run started:
    a ticket can carry a last update in the future. It is in UTC.
  3. On the next run, send the same request with filter_last_updated_at_gte set to that value
    minus a few minutes, with a Z (e.g. 2026-05-18T09:30:00Z): an update reaches the search
    index shortly after it happens.

Parameters. Only the parameters below are supported; any other query parameter is ignored.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Query Params
string
enum

Order by field. Tickets with the same value are ordered by id. Values of order_by and order_direction are not case-sensitive.

Allowed:
string
enum

Order direction

Allowed:
string

The paginator.nextCursor of the previous page. It must be sent with the same filters and order as the request that returned it, and cannot be combined with page.

integer
≥ 1

Page number, starting at 1. Only reaches the first 10,000 tickets; use cursor to go further. A value below 1 is read as 1, and a page past the last one returns the last page.

integer
1 to 1000
Defaults to 20

Number of tickets per page. A value above 1000 is read as 1000; a value below 1 as the default.

int64

Filter by contact ID

int64

Filter by channel ID

filter_channel_id_list
array of int64s

Tickets on any of these channels, comma separated, e.g. filter_channel_id_list=12,34 (or filter_channel_id_list[]=12&filter_channel_id_list[]=34).

filter_channel_id_list
filter_channel_id_excluding
array of int64s

Tickets on none of these channels, comma separated, e.g. filter_channel_id_excluding=12,34.

filter_channel_id_excluding
string

Tickets on the channels of this brand. Brand names are matched ignoring case. A name that matches no brand returns no tickets.

filter_brand_name_list
array of strings

Tickets on the channels of any of these brands, comma separated, e.g. filter_brand_name_list=Brand A,Brand B. When a brand name contains a comma, repeat the parameter instead: filter_brand_name_list[]=Smith, Jones&filter_brand_name_list[]=Brand B. Names are matched ignoring case; when none of them matches a brand, no tickets are returned.

filter_brand_name_list
filter_brand_name_excluding
array of strings

Tickets on none of the channels of these brands, comma separated (repeat the parameter with [] when a brand name contains a comma). Names are matched ignoring case.

filter_brand_name_excluding
string
enum

Filter by status. The names used in the eDesk app are accepted too: ToDo is Pending, Waiting is Open, Resolved is Closed and Snoozed is Scheduled. Locked returns the locked tickets, when ticket locking is enabled for the account (otherwise there are none). Filtering by any other status leaves locked tickets out.

string
enum

Filter by type

filter_type_list
array of strings

Tickets of any of these types, comma separated, e.g. filter_type_list=OrderQuery,Refund. The values are those of filter_type_equals.

filter_type_list
filter_type_excluding
array of strings

Tickets of none of these types, comma separated, e.g. filter_type_excluding=SystemMessage,Chat. The values are those of filter_type_equals.

filter_type_excluding
int64

Filter by sales order ID

string

Tickets created at or after this date or date-time, in ISO 8601: YYYY-MM-DD or YYYY-MM-DDTHH:MM:SS, optionally followed by Z or an offset such as +02:00. Without an offset the time is read in the timezone of the API user. A date alone means the start of that day. Without filter_created_at_lte, the results stop at the end of today.

string

Tickets created at or before this date or date-time, in the format of filter_created_at_gte. A date alone means the end of that day.

string

Tickets last updated at or after this date or date-time, in the format of filter_created_at_gte. A date alone means the start of that day. Without filter_last_updated_at_lte, the results stop at the end of today.

string

Tickets last updated at or before this date or date-time, in the format of filter_created_at_gte. A date alone means the end of that day.

string

Tickets whose reply is due at or after this date or date-time, in the format of filter_created_at_gte: the deadline eDesk's ticket list shows as Time left, set from the channel's response time, SLA rules and business hours while a ticket waits for a reply. A date alone means the start of that day. Tickets without a reply deadline are left out.

string

Tickets whose reply is due at or before this date or date-time, in the format of filter_created_at_gte; with a time in the future it finds the tickets due within that time and the overdue ones, e.g. filter_status_equals=Pending&filter_reply_by_lte=2026-05-18T17:00:00Z. A date alone means the end of that day. Tickets without a reply deadline are left out.

boolean

true returns the tickets linked to a sales order, false the tickets without one.

string

Filter by owner user ID, or unassigned for the tickets that have no owner, in any status (add filter_status_equals to narrow them down).

filter_owner_user_id_list
array of strings

Tickets owned by any of these users, comma separated. Add unassigned to include the tickets that have no owner, e.g. filter_owner_user_id_list=123,unassigned.

filter_owner_user_id_list
filter_owner_user_id_excluding
array of strings

Tickets owned by none of these users, comma separated. Tickets without an owner are kept unless unassigned is in the list, e.g. filter_owner_user_id_excluding=123,unassigned.

filter_owner_user_id_excluding
string

Filter by seller order ID

filter_ticket_id_list
array of int64s
length ≤ 500

Up to 500 tickets by ID, comma separated, e.g. filter_ticket_id_list=1001,1002.

filter_ticket_id_list
filter_tag_id_list
array of int64s
length ≤ 500

Tickets with any of these tags (the IDs in a ticket's tags_ids), up to 500, comma separated, e.g. filter_tag_id_list=12,34 (or filter_tag_id_list[]=12&filter_tag_id_list[]=34). The Read mark matches the tickets eDesk shows as read: every ticket that is not To Do, and a To Do ticket an agent has read.

filter_tag_id_list
filter_custom_field
object

Filter by ticket custom fields, one parameter per field: filter_custom_field[FIELD]=VALUE, where FIELD is the custom field ID (the id in a ticket's custom_fields) or its name. The value depends on the type of the field. Text: words the value contains. Number: a number, or a range MIN..MAX where either end may be left out (10.. or ..20). Yes/No: true or false. Select and multi select: one option, as returned in custom_fields (ignoring case); a multi select matches the tickets that have this option among their selections. Date: YYYY-MM-DD, or a range FROM..TO where either end may be left out. Date and time: a date or date-time in the format of filter_created_at_gte, or a range FROM..TO where either end may be left out; a date alone is the whole day. URL and email: the exact value, case-sensitive. Ranges include both ends. An unknown field or a value that does not fit the type of the field returns error code 4018.

string
length ≤ 255

Full-text search, as the search box of the eDesk app: tickets whose subject, message text, contact name, email, phone or address, order number or order details, or ticket ID or number match. A ticket matches when it contains any of the words, ignoring case; words match whole, not as prefixes. Put words in double quotes to match them as a phrase: fsf_query="parcel incomplete". The tickets found come in the order of order_by, like with any filter. Combines with the other filters. Up to 255 characters.

include
array of strings

Optional fields to add to each ticket, comma separated, e.g. include=ai_classification,messages_ids_grouped (or include[]=ai_classification&include[]=messages_ids_grouped). The default fields are always returned. Optional fields of the nested sales order are named with a sales_order. prefix, e.g. include=sales_order.ship_to,sales_order.order_items.product.price.

include
Responses

Language
Credentials
Bearer
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json