APIs & Integrations

adelemam82
Participant

Retrieve History List Of Property

SOLVE

I am using 

https://api.hubapi.com/crm/v3/objects/contacts/{contactId}?properties=lifecyclestage&archived=true API  to get list of all changes for lifecycle properties , but it only give me the latest change (not list) , can anyone support on this ( hope webhook not the only way , as this means have a separate DB for those changes )

 

thanks

0 Upvotes
1 Accepted solution
AnzeKoprivec
Solution
Member

Retrieve History List Of Property

SOLVE

Hi @adelemam82,

You need to use the propertiesWithHistory query prop, the archived prop only tells it to also show properties that have been deleted (archived).

Here is the link to the API endpoints online https://developers.hubspot.com/beta-docs/reference/api/crm/objects/contacts#get-%2Fcrm%2Fv3%2Fobject.... If you go to the Basic read endpoint you can test around there and see how the "propertiesWithHistory" prop looks


If my post helped answer your query, please consider marking it as a solution.

View solution in original post

2 Replies 2
adelemam82
Participant

Retrieve History List Of Property

SOLVE

thanks alot @AnzeKoprivec 

0 Upvotes
AnzeKoprivec
Solution
Member

Retrieve History List Of Property

SOLVE

Hi @adelemam82,

You need to use the propertiesWithHistory query prop, the archived prop only tells it to also show properties that have been deleted (archived).

Here is the link to the API endpoints online https://developers.hubspot.com/beta-docs/reference/api/crm/objects/contacts#get-%2Fcrm%2Fv3%2Fobject.... If you go to the Basic read endpoint you can test around there and see how the "propertiesWithHistory" prop looks


If my post helped answer your query, please consider marking it as a solution.