I am using the API to pull back any contact created yesterday (3/11/2025).
The endpoint is: https://api.hubapi.com/crm/v3/objects/contacts/search
Using this date format:
{
"limit": 200,
"filterGroups": [
{
"filters": [
{
"propertyName": "createdate",
"value" : "2025-03-11T00:00:00.000Z",
"operator": "GT"
}
]
}
],
"sorts": [
{
"propertyName": "createdate",
"direction": "DESCENDING"
}
],
"properties": [ "hs_object_id", "email", "createdate", "company", "firstname", "lastname" ]
}
returns 75 records - you can see a snippet of the createdate and id of each from the results:
In Hubspot though, if I filter the contact list by created “yesterday” (or view all and sort by created date) there are actually only 2 contacts created:
I have also tried this date format:
{
"limit": 200,
"filterGroups": [
{
"filters": [
{
"propertyName": "createdate",
"value" : "1741651200000",
"operator": "GT"
}
]
}
],
"sorts": [
{
"propertyName": "createdate",
"direction": "DESCENDING"
}
],
"properties": [ "hs_object_id", "email", "createdate", "company", "firstname", "lastname" ]
}
with the same result.
Any idea why the records coming in the response would show a create date of 3/11 but in the app itself they all show 3/10 or earlier except for the 2 legitimate ones?

