I’m trying to retrieve the contact with the lowest ID in our portal and I’m seeing inconsistent results between the search and list endpoints.
Request 1 (search for lowest ID):
POST https://api.hubapi.com/crm/v3/objects/0-1/search.....{ "sorts": [ { "propertyName": "hs_object_id", "direction": "ASCENDING" } ], "limit": 1}
Response:
{ "total": 1979571, "results": [ { "id": "151963695916", "properties": { "createdate": "2025-09-01T04:43:05Z", "lastmodifieddate": "2025-09-01T12:18:02.674Z", ..... }, "createdAt": "2025-09-01T04:43:05Z", "updatedAt": "2025-09-01T12:18:02.674Z", "archived": false } ], "paging": { "next": { "after": "1" } }}
This suggests the lowest ID is 151963695916.
Request 2 (list with limit=1):
GET https://api.hubapi.com/crm/v3/objects/0-1?limit=1
Response is:
{ "results": [ { "id": "17", "properties": { "createdate": "2014-05-29T02:05:44.329Z", "hs_object_id": "17", "lastmodifieddate": "2025-08-29T11:05:49.187Z", ...... }, "createdAt": "2014-05-29T02:05:44.329Z", "updatedAt": "2025-08-29T11:05:49.187Z", "archived": false } ], "paging": { "next": { "after": "18", "link": "https://api.hubapi.com/crm/objects/v3/0-1?limit=1&after=18" } }}
This shows the lowest ID is 17.
Expected: Both endpoints should be consistent; the search sorted by hs_object_id ascending with limit: 1 should return the record with ID 17.
Actual: /crm/v3/objects/0-1/search returns 151963695916 instead.
Could you please investigate and fix this inconsistency ASAP?
