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

NameTypeDescription
id requiredstringid parameter
linkContactIdsarrayContact ids for contacts to be linked with company
linkDealsIdsarrayDeal ids for deals to be linked with company
unlinkContactIdsarrayContact ids for contacts to be unlinked from company
unlinkDealsIdsarrayDeal 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:

call_tool arguments
{
  "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:

Run in your terminal
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 ….

More from Brevo API