I need to get recently archived objects (e.g. contacts) for the last week. I am sending a request:
GET https://api.hubapi.com/crm/v3/objects/contacts?limit=100&archived=true
But the response isn’t sorted by any of the fields. So, I need to get all archived contacts (10 pages).
Please add a sort={field}&direction={ASC,DESC} (e.g. sort=archivedAt&direction=DESC in my case) parameters to GET/crm/v3/objects/{object}.
Hi, @Sachavskyi
Thanks for taking the time to share your product suggestion and feedback. I agree, having sort options similar to what is available in the Search API would be helpful. — Sort Search Results
If you have a moment, adding your suggestion to the Ideas Community and getting some upvotes will be very helpful in getting your suggestion in front of the Product team. If you add a link back to your Idea post, I’ll be sure to give it an upvote to help get the ball rolling.
Best,
Jaycee