API ticket filter with requester and status

Hi,

I am able to filter tickets by requester email using:

/api/v2/tickets?email=[requester_email]

And am also able to separately filter by ticket status using:

/api/v2/search/tickets?query="status:x"

But is it possible to combine the two, so I am able to filter tickets based on requester email and status.

For example, I would like to return all tickets who’s requester email is email@example.com with a status of 2 (open). Is this possible and if so are there any example API calls I could be shown please?

hey @Sruthi_Radhakrishnan

if your question is whether you can filter a ticket based on multiple fields, yes you can do that, please check the Filter tickets section in the API documentation

https://developer.freshdesk.com/api/#filter_tickets

Hope this Helps!

Stay Safe :slight_smile:

1 Like