Get started →
API reference

Carrier agent extensions

Manage agent extensions at the carrier level — provision, update status, list, and delete.

Agent extension resource

AgentExtensionjson
{
  "data": {
    "id": "AE…",
    "type": "agent_extension",
    "attributes": {
      "account_id": "AC…",
      "extension": "1001",
      "username": "agent-1001",
      "agent_name": "Adaeze",
      "status": "offline",
      "created_at": "…"
    }
  }
}

Create an extension

POST/carrier/v1/accounts/{account_id}/agent_extensions
ParameterTypeDescription
data.type requiredstringagent_extension
data.attributes.agent_name requiredstringAgent's name.
data.attributes.extension optionalstringOptional explicit extension number.

List extensions

GET/carrier/v1/accounts/{account_id}/agent_extensions

Return an account's extensions.

Fetch an extension

GET/carrier/v1/accounts/{account_id}/agent_extensions/{id}

Return a single extension.

Update an extension

PATCH/carrier/v1/accounts/{account_id}/agent_extensions/{id}

Update the agent name or status.

ParameterTypeDescription
data.type requiredstringagent_extension
data.id requiredstringThe extension ID.
data.attributes.agent_name optionalstringAgent's name.
data.attributes.status optionalstringonline, offline, busy, away, dnd.

Delete an extension

DELETE/carrier/v1/accounts/{account_id}/agent_extensions/{id}

Permanently delete the extension. The agent can no longer register or receive calls.

For credentials and browser registration, see the Twilio-style agent extensions API and the WebRTC softphone guide.