Fetch tickets with multiple email addresses

Hello All!

It is possible to get tickets of multiple emails in one request?

For example, use a url like this:

https://domain.freshdesk.com/api/v2/tickets?email=email1@email.com,email2@email.com

Hey @Axel_Gueguen,

Welcome to the Freshworks Developer Community! :tada:

I’m assuming that the emails in the query parameter would be the requestor. Is this assumption correct?

Thanks!

Yes, I apologize for not clarifying :sweat_smile:. It’s the email requestor.

I would fetch all tickets of two different requestors in one request.

Here this work for one email:

https://domain.freshdesk.com/api/v2/tickets?email=email1@email.com

Thanks!

I see that the list all tickets API supports one email. Can you tell me more about your use-case where https://domain.freshdesk.com/api/v2/tickets?email=email1@email.com,email2@email.com would be really helpful?

In my case, I have special groups of emails (1 to 30 emails), so I need to fetch all tickets of the group.
I’m not 100% sure, but, to me, make 30 requests is less optimized, in term of time, than one big request (you avoid the time connection and authentication).

It’s probably more useful in other case with a large amount of emails.

Thank you for your fast answers :grin: