Zendesk Search Tickets

Searches for tickets in Zendesk using the standard query syntax. Returns matching results and a count. Useful for finding tickets by requester, status, custom fields or any combination of criteria.

What it does

  • Calls the Zendesk Search API with the provided query string.
  • Returns the first page of results and the total match count.
  • Sets success to true when at least one result is found.

Notes

  • Uses the standard Zendesk search query syntax (e.g. type:ticket status:open email:[email protected]).
  • Only returns the first page of results (up to 100 records). Pagination is not supported.
  • A search with zero results returns success: false (not an error, just no matches).

Inputs

NameTypeDescription
Search QueryStringZendesk search query (e.g. type:ticket requester:[email protected] status:open)
SubdomainCredentialsZendesk subdomain
UsernameCredentialsZendesk email (with /token suffix)
TokenCredentials (sensitive)Zendesk API token

Outputs

NameTypeDescription
SuccessBooleanWhether at least one result was found
CountNumberTotal number of matching records
ResultsListArray of ticket/user/organisation objects returned by the API

API reference