Home / Servers / Brevo API / patch_companies_link_unlink_by_id
Link and Unlink company with contact and deal
An MCP tool from the Brevo API server, hosted on mcp.hjlabs.in.
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… [PATCH /companies/link-unlink/{id}]
Name on the gateway: brevo_api__patch_companies_link_unlink_by_id · may change things.
Parameters
| Name | Type | Description |
|---|---|---|
id required | string | id parameter |
linkContactIds | array | Contact ids for contacts to be linked with company |
linkDealsIds | array | Deal ids for deals to be linked with company |
unlinkContactIds | array | Contact ids for contacts to be unlinked from company |
unlinkDealsIds | array | Deal ids for deals to be unlinked from company |
How to call it
Through the Smart Gateway, any client can run it by name with call_tool, or let the gateway find it with search_tools:
{
"name": "brevo_api__patch_companies_link_unlink_by_id",
"arguments": {
"id": "…"
}
}Or connect the Brevo API server directly, which lists 291 tools including this one:
claude mcp add --transport http hj-brevo-api https://mcp.hjlabs.in/mcp/brevo-api \
--header "Authorization: Bearer YOUR_API_KEY"Try asking
Use the link and unlink company with contact and deal tool with id set to ….