APIs & Integrations

yK10
Participant

Properties with history for search API

Hey, First of all, thanks for taking time to look at the query. 

I am looking to fetch "deastage" property history for deals . GET endpoint for deals provide it but SEARCH one doesn't include propertiesWithhistory for any property. 

Could you help me with any endpoint that will provide me property history for "dealstage" propery in deals

0 Upvotes
3 Replies 3
PMcConnell
Member | Platinum Partner
Member | Platinum Partner

Properties with history for search API

Hi @yK10 ,

Hope you are good. 

So I think the following endpoint will work.
https://api.hubapi.com/crm/v3/objects/deals?propertiesWithHistory=dealstage

Or are you looking for a specifc deal. 

Feel free to reach out. 

Pauric

Pauric Mc Connell
Software Engineer
Baskey Digitial

Book a consultation

Did my post help answer your query? Help the community (and me) by marking it as a solution.


0 Upvotes
yK10
Participant

Properties with history for search API

Hi @PMcConnell ,  thanks for the reply .
I am aslo familiar with endpoint for the specific dealid too. 
But I am looking that is it possible that I can fetch propertiesWithHistory in SEARCH api, or there is an api through which I can fetch information in bulk
I hope I clarify my question

Thanks



0 Upvotes
PMcConnell
Member | Platinum Partner
Member | Platinum Partner

Properties with history for search API

Hi @yK10 ,

Currently, no—you cannot retrieve historical property values using propertiesWithHistory through the Search API.
If you need to retriever the deals information in bulk, you can set the limit=50 (this is the max whilst using propertiesWithHistory) and then move to the next page. 
The link for the next page should be included in the response. 

Hope this helps. 
-Pauric 

Pauric Mc Connell
Software Engineer
Baskey Digitial

Book a consultation

Did my post help answer your query? Help the community (and me) by marking it as a solution.


0 Upvotes