by Zendesk
Search tickets, users and organizations
Returns the tickets, users, organizations or groups that match a query in Zendesk's search syntax.
Updated Sep 29, 2026
search.md
Search tickets, users and organizations
Returns the tickets, users, organizations or groups that match a query in Zendesk's search syntax.
Note: Returns at most 1,000 results per query and 100 per page; for more, use GET /api/v2/search/export.
Set up
Use the first option your agent supports.
API (official)
- Base URL: https://{subdomain}.zendesk.com
- Endpoint:
GET /api/v2/search?query={query} - Auth: send the header
Authorization: Bearer $ZENDESK_OAUTH_TOKEN - Get a key: https://developer.zendesk.com/documentation/authentication/oauth-migration/#getting-your-first-token
- Docs: https://developer.zendesk.com/api-reference/ticketing/introduction/
Note: {subdomain} is your Zendesk subdomain, as in acme.zendesk.com. Tokens from OAuth clients created since April 30, 2026 expire after 30 minutes.
Before anything else, confirm access with the cheapest read-only call, like a list or a search. Never send or change anything to test access.
Rules
- Ask the user before anything that sends messages, costs money, or changes data, and say how many records it touches. One approval covers a batch the user has seen.
- Never print API keys.
Ways in
| Route | Source | Call | Required | Docs |
|---|---|---|---|---|
| Official | GET /api/v2/search?query={query} | API key in $ZENDESK_OAUTH_TOKEN | Docs |
Workflows using Search tickets, users and organizations
TContributed by thedogwiththedataonitFlag expansion asks in support tickets for account ownersFinds new Zendesk tickets that ask for seats, SSO, higher limits or another team with Jev, and notes each in HubSpot for its owner.
Z
T
H+1
TContributed by thedogwiththedataonitFlag churn risk in new support tickets for customer successReads new Zendesk tickets, scores churn risk and urgency with Jev, tags and prioritizes the risky ones, and alerts each owner in Slack.
Z
T
H+1