You would be able to use the API for list all tickets to get them. Please refer to https://developers.freshdesk.com/api/#list_all_tickets to know more about this.