By running the following query I can get all the first 100 tickets from our Zendesk account
curl -u user@domain.com:pass https://subdomain.zendesk.com/api/v2/tickets.json > tickets.json
However, I would like to get tickets with keyword 'Tom'. The keyword should appear in either the collaborators field or text data.
Is there a way to use the Zendesk API to query Zendesk tickets based on a keyword?
Try this:
search.json?query=Tom
OR
search.json?query=type:user "Tom*"
See, if that helps.
Refer: Link