Getting started
Set yourself up for success with onboarding guides
Help and FAQs
Find solutions for common issues
Video
Watch and learn how to use Zendesk
Zendesk updates
Stay up-to-date with important Zendesk announcements and notifications
Product guides
Make the most of your Zendesk setup with our comprehensive documentation
Best practices and how-tos
Find tips and step-by-step tutorials for common use cases
Agent guide
Agent guide for the Zendesk Suite
Policies and programs
Review Zendesk policies, agreements, programs, and services
Recent searches
No recent searches
Ae
Posted Feb 17, 2022
Hi i'm stuck in a problem. Can't use API for sort. By the way, the examples I've tried are "https://{domain}.zendesk.com/api/v2/tickets?sort_order=desc"I'm not sure if I used it properly and please introduce me.ReferenceTicket
0
Sebastiaan (Sparkly ⭐)
Feb 22, 2022
Hey Jeddirok,You should also include a 'sort_by'. Did you try something like:
https://{domain}.zendesk.com/api/v2/tickets?sort_by=id&sort_order=desc
Not all endpoints support sorting, but this one does (as the documentation that you're referring to mentions).
1
Feb 23, 2022
Hi Sebastiaan
Based on your advice, I can now follow suit.
Thank you very much for your advice.Have a nice day.
2 comments
Sebastiaan (Sparkly ⭐)
Hey Jeddirok,
You should also include a 'sort_by'. Did you try something like:
Not all endpoints support sorting, but this one does (as the documentation that you're referring to mentions).
1
Ae
Hi Sebastiaan
Based on your advice, I can now follow suit.
Thank you very much for your advice.
Have a nice day.
0