Skip to content

Click2CallUpdateAgent

PUT click2call/agent

Updates a manager-to-line link. Only the fields present in the request are changed.

Disabling a link takes the manager out of that profile immediately: their next call through it is rejected with AGENTS_SETTINGS_NOT_FOUND instead of dialing from someone else's line.

Access Control

Allowed role: admin, within the brand of the caller.

Request

PUT https://{broker_domain}/click2call/agent
{
  "id": 12,
  "externalIdentifier": "1055"
}
{
  "command": "Click2CallUpdateAgent",
  "extID": "1",
  "data": {
    "id": 12,
    "externalIdentifier": "1055"
  }
}
const res = await platform.Click2CallUpdateAgent({
  id: 12,
  externalIdentifier: "1055"
});

Request Data

Field Type Required Description
id int Yes Link id
managerId int No CRM manager id
profileId int No Provider profile, must be INDIVIDUAL
status enum No ENABLED or DISABLED
externalIdentifier string No Manager identifier at the provider

Response Data

{
  "id": 12,
  "managerId": 10,
  "profileId": 4,
  "externalIdentifier": "1055",
  "status": "ENABLED",
  "updatedAt": "2026-08-24 14:22:41"
}

Errors

Code Error Description
400 PROFILE_MODE_MISMATCH The new profile does not use per-manager lines
404 NOT_FOUND Link not found, or the target profile does not exist in the brand
409 AGENT_EXISTS The manager is already linked to the target profile