Please include the requester details in below endpoint::
/api/v2/search/tickets?query=[query]
Please include the requester details in below endpoint::
/api/v2/search/tickets?query=[query]
Best answer by madhusingh0906
Hi
Looks like Aubrey is suggesting to move the requestor data to custom ticket Field and then use Filter ticket API based on the custom Field.
This could be the workaround but we need to be cautious of the API limit here. So what can be done here is, we can create custom ticket Fields and pass the requestor details to these Fields and then search tickets using the custom Ticket Field.
For example :- You can create a custom Field called Requestor name and then using one ticket update API we can update this ticket Field with Requester details.
API for ticket update :- Ticket Update API
Article for reference :- Automation Using Webhooks
Sample screenshot:-

Once this update is done, we can use the search ticket API to search tickets based on this custom Field which will have requester details.
API for Filter ticket :- https://developer.freshdesk.com/api/#filter_tickets
Hope this answers the query.
Already have an account? Login
No account yet? Create an account
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.