Tickets ALL filter

Hello everybody.

I need to make a filter so I get my tickets that have been updated recently, whether old or new.

For new and updated tickets I have used this filter:
requests.get(‘https://’+ domain +’.freshdesk.com/api/v2/tickets?order_by=updated_at’, auth = (api_key_eu, password))

Using the following filter and I can get old tickets, but only from a single agent:
requests.get(“https://”+ domain +".freshdesk.com/api/v2/tickets?filter=new_and_my_open"

Using the following filter I can only get 50 tickets.

requests.get(‘https://’+ domain +’.freshdesk.com/api/v2/tickets?updated_since=2017-01-11T00:00:00Z&page=2&per_page=50’, auth = (api_key_, password))

Is there a filter where I can get all my tickets??

There is no API to return all tickets. You will have to loop through the pages using &page=[number]&per_page=100

Per page 100 tickets is maximum.

2 Likes

This topic was automatically closed 6 days after the last reply. New replies are no longer allowed.