APIs & Integrations

HenrikJanningJu
Member

Create Contact with the api

Among the other properties as email, firstname etc. is it then possible to associate this contact to a given company by setting the associatedcompanyid property to the companyId I want to associate the contact with - In the same call of course? :wink:

0 Upvotes
1 Reply 1
Dadams
HubSpot Employee
HubSpot Employee

Create Contact with the api

Hi @HenrikJanningJuul

This will work exactly as you expect. You can set the associatedcompanyid property when creating a contact to associate the contact with the company, by setting that property to the companyId of the appropriate company record.

0 Upvotes