I’m coding an integration with Hubspot, and I want to implement periodic incremental syncs of Objects' Properties history
I know I can fetch the full property history of all objects by using the endpoint GET /crm/objects/{version}/{object} with the param propertiesWithHistory: [...my properties...], this is good for a full sync
I also know that I can use the Search API to narrow my sync to only objects updated since my last sync, this makes it better, since I only target updated objects, but I still fetch the full property history of each updated object.
Yet, ideally, I want to fetch only new records in the property history of an updated object, i.e: “What changed since yesterday?”.
For example, something like:
GET /crm/objects/{version}/{object}?propertiesWithHistory=[...]&historySince={date}
or something like:
GET /crm/objects/{version}/{object}/propertyhistory?since={date}
Is it possible to do so? Or is there a workaround?
Hey @Aleph-Bri,
I couldn’t find any explicit outline of how this might be possible in our Using Object APIs documentation, so I prompted the doc’s AI. Here is its reply:
“”
For additional context, I’d like to tag in some Community experts to see what insight they might have here. @stefen, @ashleyidesign, and @nickdeckerdevs1 - are any of you aware of how this might be possible?
Shane, Senior Community Moderator
Hi @Aleph-Bri
I hope you are doing well.
The short answer is no. There is no date filter on the property history endpoints. You will always receive the full history array. Instead, I recommend using webhooks (propertyChange events) as your real incremental source, as each event provides the new value, source, and timestamp- basically the delta you are looking for. Then, you can periodically reconcile your search API + propertiesWithHistory to catch anything the webhooks might have missed. Just ensure to deduplicate on objectId + property + timestamp, as delivery is not exactly once.
I hope this will help you out. Please mark it as Solution Accepted and upvote to help another Community member.
Thanks!
Thanks @GRajput !
We currenly don’t support webhooks in our syncs, but yor response that answers what I asked.
I got a followup question:
I noticed the list of property history (for each property), when return in both List and Search endpoints, doesn’t have pagination. Does it always return the full history or is it trimmed?
Is it that the history is always small enough to fit in the response?
Hello @Aleph-Bri
I ran into the same question while building our HubSpot app, so I tested it today instead of guessing.
Here’s how I set it up: created a contact, set a property (city), then updated it 60 more times via the API (61 versions total), and then I read it back through each endpoint.
Results:
-
Single object GET (/crm/v3/objects/contacts/{id}?propertiesWithHistory=city): returned exactly 45 entries, newest first. The oldest 16 versions were silently dropped. So the history array is not paginated, but it is trimmed: you get the 45 most recent versions per property.
-
Batch read (POST /crm/v3/objects/contacts/batch/read with propertiesWithHistory): and got the same 45-entry cap.
-
Search (POST /crm/v3/objects/contacts/search): this one surprised me. Adding propertiesWithHistory to the search body is silently ignored. The response contains only the current properties, no history array, and no error. So search can’t be your history source at all; you would use search to find the changed object IDs, then fetch history with GET or batch read.
The practical takeaway is that incremental syncs have a limit. HubSpot only keeps the last 45 changes for each property, and there’s no way to get anything older. If a property changes more than 45 times between syncs, those earlier changes are gone and the REST API can’t recover them.
That’s why webhooks aren’t just something nice to have, they’re the only way to capture every change. The REST API is best used as a backup to catch anything you might have missed, but it has that “45 change limit”. So it’s worth syncing often enough that a single property is unlikely to change more than 45 times between runs.
I hope the concrete numbers help someone. (Context: I build a provider-data app for HubSpot and hit this while designing our sync.)