Phone numbers
Update a phone number
PATCH
Renames a phone number or assigns it to an agent.
Requires the agents:write scope.
apiKeyheader
X-API-Key<token>Your API key, from Settings → API access in the dashboard.
number_id*stringThe number's id, from GET /phone-numbers.
Format
uuidapplication/json- body
friendly_name?stringLabel shown in the dashboard.
agent_id?stringAgent that answers calls to this number.
Format
uuidUpdated.
application/jsoncurl -X PATCH "https://example.com/phone-numbers/497f6eca-6276-4993-bfeb-53cbbbba6f08" \ -H "Content-Type: application/json" \ -d '{ "friendly_name": "Sales line" }'{ "message": "Updated", "id": "1c2d3e4f-5a6b-4c7d-8e9f-0a1b2c3d4e5f"}