Skip to main content
Required scopes: support_tickets_read

Arguments

String
Forward pagination cursor — returns tickets after it.
[ID!]
Tickets assigned to any of these team members, at most 100. assigneeIds, assigneeTypes and includeUnassigned match as one OR.
Tickets with any of these kinds of assignee. Matches with assigneeIds and includeUnassigned as one OR.
String
Backward pagination cursor — returns tickets before it.
On any of these channels.
Only tickets closed after this instant.
Only tickets closed before this instant.
Only tickets created after this instant.
Only tickets created before this instant.
ID
The customer’s id or legacy id. Requires customers_read.
[ID!]
Has none of these tags, at most 100.
Int
Forward pagination: returns the first N tickets (max 100, default 25). Use with after; mutually exclusive with last/before.
Boolean
Also match tickets with no assignee. Matches with assigneeIds and assigneeTypes as one OR.
Int
Backward pagination: returns the last N tickets (max 100, default 25). Use with before; mutually exclusive with first/after.
Only tickets whose last message, from the customer or the team, is after this instant.
Only tickets whose last message, from the customer or the team, is before this instant.
Default LAST_RESPONSE_AT, newest first.
String
The inbox search: message and subject words, the customer’s name, email or phone, order numbers. At most 200 characters. Keeps the orderBy order.
Boolean
Reverses the order of orderBy. Tickets with no value for it stay last either way.
Any of these. Omitted or empty: every status.
[ID!]
Has any of these tags, at most 100.

Returns

A paginated list of SupportTicket items.

Example