Skip to main content
Every one of these filters matches.
Boolean
True: tickets with an assignee of any kind. False: tickets with none.
The team member the ticket is assigned to, at most 100 ids.
What kind of assignee the ticket has.
The channels the ticket is on.
When the ticket was closed.
When the ticket was created.
ID
The ticket’s main customer, by id or legacy id. Requires customers_read. A customer the store doesn’t have matches no tickets; a malformed id fails with BAD_USER_INPUT.
How many open composer drafts the ticket has, any team member’s, counting the tickets merged into it. The help desk’s Drafts view is status: { anyOf: [OPEN, DRAFT] } and drafts: { gt: 0 } with helpDeskDefaults: true.
The store inbox address the ticket came in on, at most 100 addresses. Matched without case.
When the customer last wrote.
When the team, the AI agent or an automation last wrote.
When the customer or the team last wrote.
The team members an internal note on the ticket @mentions, at most 100 ids.
At least one of these filters matches. Not empty.
ID
A customer who takes part in the ticket on any thread, the match the help desk’s customer ticket list makes; customerId matches only the ticket’s main customer. By id or legacy id. Requires customers_read.
The ticket’s text. Matches customer details with only support_tickets_read, as the inbox does.
How many messages team members wrote on the ticket, counting the tickets merged into it. Internal notes count; messages from the AI agent, auto-replies, chat flows and the system don’t. The help desk’s Sent view is sentMessages: { gt: 0 } with spam left out.
The ticket’s status. While no filter names a status, ARCHIVED tickets are left out, as the help desk lists tickets; name ARCHIVED in an anyOf to include them.
The ticket’s tags, at most 100 ids.
Boolean
True: tickets with a customer message the team has not read yet. False: the others, including tickets the customer never wrote on.