CRM

PZit
Participant

Associated contacts for companies

Hello, 

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?

 

Many thanks

0 Upvotes
1 Reply 1
MiaSrebrnjak
Community Manager
Community Manager

Associated contacts for companies

Hi @PZit,

 

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: 

hi @stefen@Teun, do you have any tips for @PZit? Thank you!

 

 

Cheers
Mia, Community Team 


Wusstest du, dass es auch eine DACH-Community gibt?
Nimm an regionalen Unterhaltungen teil, indem du deine Spracheinstellungen änderst


Did you know that the Community is available in other languages?
Join regional conversations by
changing your language settings