[API] Get label from internal value


Hi all,


I am trying to get the name of each of our clients' contact points through API. This property is a company property; each company has a particular contact point. However when using the API, it returns the internal ID (something like 12345678) instead of the label value (the name of the contact point). 


Is there a way to use the Python API to look up name from internal ID? Thanks. 

2 Replies 2
Community Manager

Thank you for your post @James2932 .

@Bryantworks and @JBeatty , would you mind sharing your advice for @James2932 ?

Recognized Expert | Platinum Partner

Hello @James2932,


Yes, you can get the value of the company property using the company id.


Please follow this link https://developers.hubspot.com/docs/api/crm/companies 

and go to the endpoints tab, check for the GET/crm/v3/objects/companies/{companyId} endpoint, You need to pass the properties that you want in the response, in your case, the internal name of the contact points property.


You can try the api, and copy the exact code of your selected language.


Hope this helps!





Digital Marketing & Inbound Expert In Growth Hacking Technology