Add Contact to Company

PUT /companies/v2/companies/:companyId/contacts/:vid

Method Details

HTTP Methods:

PUT

Content Type:

application/json

Response Format:

json

Requires Authentication?

Yes

Rate Limited?

Yes

Headers

User-Agent

Products:

Marketing & CRM

Associate a given contact to a company. If a contact is already associated to a different company, the contact will be moved to the new company. A contact can only be associated to one company.

Note: This endpoint should only be used for existing contacts. If you're creating new contacts (or a batch of new contacts) you can associate the contacts with the company by setting the associatedcompanyid property to the companyId you want to associate the contacts with.

Required Parameters How to use Description
OAuth Access Token or API Key Authorization: Bearer {token} header
or hapikey={key} query parameter.
Used to authenticate the request. Please see this page for more details about authentication.
Company ID Used in the request URL (see above) The ID of a company to add a contact to
Contact VID Used in the request URL (see above) The ID of a contact to add a company
Optional Parameters How to use Description
None None No additional parameters for this endpoint.

If request is successful you'll receive a 200 response with the data for the company in the body of the response..

Returns a 404 response if either the company or contact is not found. The body of the response will indicate which object was not found.