Sorting an API import

Hi there!

Basic question, I think, but I can’t seem to get it to work: how can I change the sorting when I make a GET request? Currently the API I’m calling is pulling from the oldest records to newest, but I need the newest ones pulled in first instead (ideally new since last run - i.e. in the last 24 hours). The API docs refer to sorting options - e.g. ?sort_by=created_at - but I can’t figure out where to put them in the Parabola set up?

Thanks in advance!


Hey Derek!

Depends on the API. Can you post a link to their docs?

Hi Brian! Thanks for the reply. I’m working with:

Any help is appreciated!

Thanks for the API docs! Try adding ?sort_by=created_at:desc to the end of your API Endpoint URL. That should return the results in descending order. Let me know how it goes!

1 Like

Thanks - that worked! I think I was close before, but must have missed something. :slight_smile: