Automate Property Settings History Exports

Hi there,

I am currently requesting property history experts for contacts and deals through the HubSpot website. I am looking for a way to automate or speed this process up. Is there a way to pull this data without manually requesting the CSV exports each time or a way to set it up to automatically send me them each week? Can I do it through Python coding or some kind of API tool?

Any help or guidance would be appreciated!

Hey @ECM_Steven,

When looking to retrieve property history, you can use the following API:

Contact: Get all contacts | Contacts API > Include parameter: &propertyMode=value_and_history

Deals: Get all deals > Include parameter: &&propertiesWithHistory=

Thanks, I will explore these options!

This only works with a single property. See my post. If you try two properties, somehow, there’s a throttle or limit on the most recent value coming back for the second property. E.g., in python:

has two properties, but the second, hs_latest_source, would only show the first value for any vid returned. Kind of a big limitation because if you have a lot of data coming in you’d have to constantly reconcile differences in history lengths as it affects offsets (IIRC). I mean, after you have caught up with all the histories and are certain you have them all, then you can webhook or get recently updated, but still, it’s a bad design. Not to mention, the overhead to get recently-updated properties is messy.