Jan 28, 2023 11:30 AM
I am using HubSpot API to get current Deals through the following endpoint. More information here.
GET /crm/v3/objects/deals
Deals could or should have contacts and company info linked to them. I can retrieve this information with the query param associations, but I only get an ID instead of the value.
Is there any way to customize the call so that I can get the contacts name and email in the same API Call?
Thanks in advice!
Jan 30, 2023 4:12 AM - edited Jan 30, 2023 4:13 AM
Hey @Egoi ,
not that I'm aware of. You would need to create an extra call to the contacts API endpoint.
However, this is exactly something that GraphQL is trying to fix. I am uncertain if it's still in beta or live already, but you can read up on it here. It's exclusive to CMS Pro and Enterprise, though, so it might be a long shot in your case.
Sorry that I'm unable to help more.
Cheers,
Chriso