API ReferencePhone numbers

Update phone number assignment (agent link, label)

PATCH
/api/v1/console/phone-numbers/{phoneNumberId}

Authorization

ApiKeyAuth
AuthorizationBearer <token>

Team API key (prefix sk_). You may also send the key via X-Api-Key header.

In: header

Path Parameters

phoneNumberId*string

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

curl -X PATCH "https://example.com/api/v1/console/phone-numbers/string" \  -H "Content-Type: application/json" \  -d '{}'
{  "message": "string",  "data": {    "id": "string",    "agent_id": "string",    "label": "string",    "e164": "string",    "created_at": "string",    "updated_at": "string",    "inbound_enabled": true  }}