How to sort tickets by updatedate in API

Hi there, I would like to have the API sort the tickets by the field "updated_at", because I want to list only yesterday's tickets, but I don't seem to get it working.

According to the manual (https://developers.trengo.com/reference#list-all-tickets), I can do some sort of sorting, but the explanation says:

"Orders by last messages at, 'date' orders at oldest first"

and I can't really figure out what that means. You can only sort by ascending??

 

I have tried: 

https://app.trengo.eu/api/v2/tickets/?page=1&sort=updated_at

but the updated_at is ignored....

 

Anyone?

 

Thanks in advance.

Reply Oldest first
  • Oldest first
  • Newest first
  • Active threads
  • Popular
Like Follow
  • 4 mths agoLast active
  • 7Views
  • 1 Following