Skip to main content

Hello! I need to use pagination to get all open tickets from freshdesk, but it’s not working as expected when i try to use “per_page”:

api/v2/search/tickets?query="status:2" works fine, but don’t retrieve all results

 

If i use the “page” parameter, it work fine too. api/v2/search/tickets?query="status:2"&page=2

 

But if i try to use “per_page” parameter it doesn’t work. 

api/v2/search/tickets?query="status:2"&per_page=2

 

Can someone help me figuring out what i’m missing? Thanks

 

 

Hi @andrewcruzr 

 

Greetings from Freshworks community! 

 

I understand that you are unable to use the Pagination query for the Filter Tickets API endpoint, kindly note that the Filter Tickets API will return 30 tickets per page by default and the per page query will not be supported in the Filter Tickets API endpoint. This is the reason the API endpoint you tried accessing did not return any value. 

 

I hope this clarifies your query. 


Hello! @jim.stephen 

 

Do you have any recommendations to retrieve more than 300 tickets using the Filter Tickets API? I've used the page query, but it's limited to page 10. It would be great if the response could include the total number of pages and allow us to go beyond page 10. Thanks!


Wow this is fascinating. All the replies are repeating the same non-answer and including links to vape pages. ​@andrewcruzr letting you know you are not alone in searching for a way to get over 300 tickets but I haven’t found it yet either.


Reply