HubSpot API - parent/child records


#1

I can’t find anything in the API that lets me grab child records for company locations associated to the parent company. Any ideas?


#3

Welcome, @mandy.asberry!

You can use the CRM Associations API for this, using the definitionId values 13 and 14:

For example, if you need to get the child record IDs for companyId 123, you would use:

https://api.hubapi.com/crm-associations/v1/associations/123/HUBSPOT_DEFINED/13