Query types / Actions
The first step of the querying is selecting the Action/Query Type. Each action / query type represents an API in the Zendesk. Once you selected the Action / Query Type, you have to provide relevant additional information required for the API.
Some APIs require to pass mandatory parameters and they are available next to the action selection. If there are any optional parameters, they are available in the Optional parameters section of the query editor
Search
Search allows you to search for tickets, users, and organizations in your Zendesk account.
When making a search request, you use the query parameter to specify a resource type, such as tickets or users. You also specify the criteria for the search, such as “users named Jane Doe” or “tickets with an open status”.
To see the full list of search parameters, refer to the Zendesk Search documentation.
Examples
Show ticket by IDs
This action allows you to retrieve multiple ticket records by providing a list of ticket IDs.
The will return up to 100 ticket records in a single request.
Parameters
Show ticket comments
This query retrieves the comments associated with a specific ticket.
Parameters
Show deleted tickets
This action returns a list of all deleted (and not yet archived) tickets.
Parameters
Count tickets
Returns an approximate count of tickets in the account. If the count exceeds 100,000, it is updated every 24 hours.
Show all users
List all users registered to the Zendesk instance.
Parameters
Show selected users
This actions shows information about multiple users by their IDs.