Assign Company to Contact through API


I am using Contacts API to export our contacts to HubSpot and I am also using Companies API to export our companies to HubSpot. So I have a companyId and contactId those are generated by HubSpot.

Now, How can I link my company info to contact in hubspot through API.


@YAlapati You can use this endpoint to now add the contacts to the company