APIs & Integrations

AlexanderCF
Member

How to Retrieve Associated Deals in HubSpot Calls Endpoint?

I'm currently working with the Calls endpoint in HubSpot's CRM API, and I'm trying to retrieve associated deals for each call. I've followed the documentation provided by HubSpot, but I'm encountering difficulties in fetching this information.

I've constructed my query based on the endpoint URL provided in the documentation (
https://api.hubapi.com/crm/v3/objects/calls?associations=0-3&limit=5&properties=hs_call_body)

but it doesn't seem to include the associated deals. Could someone guide me through the correct procedure or provide examples on how to properly include associated deals when querying the Calls endpoint? Any insights or assistance would be greatly appreciated. Thank you!"

docs: https://developers.hubspot.com/docs/api/crm/calls

0 Upvotes
1 Reply 1
CichociemnyKuba
Participant

How to Retrieve Associated Deals in HubSpot Calls Endpoint?

Associations are only included in the specific CALL details response if they exist. I noticed that you've set the limit to 5 in your URL. It's possible that no CALL from the response is associated with the deal. Consider increasing the limit to 100 and checking if there are any deal associations in the API response.