How to find primary companies associated with contacts

DA8
Mitglied

From which API i can find primary company associated with contact?

0 Upvotes
1 Akzeptierte Lösung
PamCotton
Lösung
HubSpot-Alumnus/Alumna
HubSpot-Alumnus/Alumna

Hey @DA8, thank you for posting in our Community!

 

To find the primary company associated with a contact, you can use the CRM Associations API. This API allows you to retrieve associations between contacts and companies, including the primary company. Look for the association type primary when querying. You can find more details in HubSpot’s API documentation to guide you through the implementation.

 

Kindly,

Pam

Lösung in ursprünglichem Beitrag anzeigen

0 Upvotes
2 Antworten 2
PamCotton
Lösung
HubSpot-Alumnus/Alumna
HubSpot-Alumnus/Alumna

Hey @DA8, thank you for posting in our Community!

 

To find the primary company associated with a contact, you can use the CRM Associations API. This API allows you to retrieve associations between contacts and companies, including the primary company. Look for the association type primary when querying. You can find more details in HubSpot’s API documentation to guide you through the implementation.

 

Kindly,

Pam

0 Upvotes
DA8
Mitglied

Hey @PamCotton,  Thanks for your response it is really helpfull. I found this API endpoint https://api.hubapi.com/crm/v4/associations/{fromObjectType}/{toObjectType}/batch/read for associtaion of contacts. But my further question is in this API, is there any limit of result? Because i found "after" field here but not found any limit. i think it is retriving all records depends on input id

0 Upvotes