API tickets limit timestamp range

We have a working call to freshDesk for tickets, however if that fails at the weekend and we restart the service we hit the 300 page limit. We are using the updated_since filter, however I cannot see another filter option such as “updated_before” that would allow us to catchup the tickets without hitting this 300 limit. Is there a way to filter the API call like this?

current API call example;

https://domain.freshdesk.com/api/v2/tickets?updated_since=2022-06-24T00:00:00

I am after something like;

https://domain.freshdesk.com/api/v2/tickets?updated_since=2022-06-26T00:00:00&updated_before=2022-06-25T00:00:00

@richardatkins,
Good Day! Welcome to the community!

There is no such thing called updated_before,
Instead, why can’t you use filter tickets, kindly refer to this document for more reference

Hope it helps :slight_smile:

Thanks