Link and Unlink company with contact and deal

Link or unlink contacts and deals with a specific company in a single request. You can simultaneously link new contacts/deals and unlink existing ones by providing the respective ID arrays in the request body.

Authentication

api-keystring

The API key should be passed in the request headers as api-key for authentication.

Path parameters

idstringRequired

Request

Linked / Unlinked contacts and deals ids.

linkContactIdslist of longsOptional
Contact ids for contacts to be linked with company
linkDealsIdslist of stringsOptional
Deal ids for deals to be linked with company
unlinkContactIdslist of longsOptional
Contact ids for contacts to be unlinked from company
unlinkDealsIdslist of stringsOptional
Deal ids for deals to be unlinked from company

Response

Successfully linked/unlinked contacts and deals with the company.

Errors

400
Bad Request Error