APIs & Integrations

ricky23
Contributor

Is it possible to get the company name of a Deal from the Deals API

Hi,

Was wondering whether it is possible to get the company name of a deal from the Deals API

Ricky

0 Upvotes
1 Reply 1
Derek_Gervais
HubSpot Alumni
HubSpot Alumni

Is it possible to get the company name of a Deal from the Deals API

Hi @ricky23,

Deal records can be associated with Company records, but because they're distinct objects you can't pull Company records using the Deals API. You'd need to get a deal's associatedCompanyId, and then use the Companies API to pull the details for that specific company record.

0 Upvotes