Nov 24, 2022 3:08 AM
I am trying to get assosiated contact for the company. I am trying to call
https://api.hubapi.com/crm/v3/objects/contacts/search/ with request body properties": [ "firstname","lastname","email", "company","associatedcompanyid","
But I get only primary company ID("associatedcompanyid")
not all company with contact is associated.
Any ideas how to get contact will all associated companies?
Nov 24, 2022 12:07 PM
Thank you for reaching out to the Community! Just to confirm, you'd like to get IDs of all companies that are associated with a contact (and not just the ID of the primary company)?
I'm not too familiar wit APIs, but I believe you could ask for the hs_parent_company_id. You can check out this Community post for context.
I also wanted to tag in a couple of subject matter experts to see if they have any advice:
Mia, Community Team