APIs & Integrations

Lars-Erik
Contributor | Diamond Partner
Contributor | Diamond Partner

Enable retrieval of property history in the V3 APIs

SOLVE

The legacy API has a "property mode" to include history when fetching entities.

The new API does not have property history at all.

Whether the same endpoint or a new one doesn't really matter, but it's super useful to be able to fetch history.

2 Accepted solutions
dennisedson
Solution
HubSpot Product Team
HubSpot Product Team

Enable retrieval of property history in the V3 APIs

SOLVE

@Lars-Erik ,

The team is aware and will be adding this functionality.  No timeline, but wanted to let you know something 👍

View solution in original post

nikodev
Solution
Top Contributor | Elite Partner
Top Contributor | Elite Partner

Enable retrieval of property history in the V3 APIs

SOLVE

For those that end up looking for this - using the "propertiesWithHistory" parameter that is now available through the read endpoints of the v3 APIs will return the property history and source information. 

A8 Labs

View solution in original post

5 Replies 5
nikodev
Solution
Top Contributor | Elite Partner
Top Contributor | Elite Partner

Enable retrieval of property history in the V3 APIs

SOLVE

For those that end up looking for this - using the "propertiesWithHistory" parameter that is now available through the read endpoints of the v3 APIs will return the property history and source information. 

A8 Labs

AntonioPerez
Participant

Enable retrieval of property history in the V3 APIs

SOLVE

Hi Niko! On behalf of the countless other devs who have probably landed on this page in search of the niche solution, only to quietly bounce and go about their lives shortly thereafter: THANK YOU!

 

In case this helps anyone else: include the name of the property (such as "address") along with the "propertiesWithHistory" query parameter, like so:

{{baseURL}}/crm/v3/objects/contacts/:contactId?idProperty=email&properties=address,city,state,country,zip,email&propertiesWithHistory=address

nikodev
Top Contributor | Elite Partner
Top Contributor | Elite Partner

Enable retrieval of property history in the V3 APIs

SOLVE

Great to hear man - I know the struggle. Made my day when I saw this - to the point I've remembered and come back ~2 weeks later to mention it. 

A8 Labs

Jaycee_Lewis
Community Manager
Community Manager

Enable retrieval of property history in the V3 APIs

SOLVE

We agree, @nikodev rocks! 🎉

linkedin

Jaycee Lewis

Developer Community Manager

Community | HubSpot

0 Upvotes
dennisedson
Solution
HubSpot Product Team
HubSpot Product Team

Enable retrieval of property history in the V3 APIs

SOLVE

@Lars-Erik ,

The team is aware and will be adding this functionality.  No timeline, but wanted to let you know something 👍