Update the contact record with the company id


Hi All,

How does one in php associate a contact record with a company domain? I'm trying to link the contact with with the company using the hubspot API.

I believe the property "associatedcompanyid" on the contact record would need to be update? If so, how does one update this property?

Any help is greatly appreciated.

Thank You,


Hi @modcure1,

You can use the 'Add contact to company' endpoint: