Reputation: 1243
By running the following query I can get all the first 100 tickets from our Zendesk account
curl -u [email protected]: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?
Upvotes: 1
Views: 962
Reputation: 7474
Try this:
search.json?query=Tom
OR
search.json?query=type:user "Tom*"
See, if that helps.
Refer: Link
Upvotes: 1