Numbers · API Reference
Update Number
Updates the default agent that answers inbound calls on this number. Pass `null` to `defaultAgentId` to clear the assignment.
PATCH
/v1/numbers/{id}Scope:
calls:writePath Parameters
idstringrequired
The number ID to update.
Request Body
defaultAgentIdstringoptional
Agent to handle inbound calls on this number. Pass `null` to clear.
Responses
{
"id": "num_xxxxxxxxxxxx",
"e164": "+918008001234",
"defaultAgentId": "agt_xxxxxxxxxxxx"
}PlaygroundPATCH
AuthorizationPath
{id}requiredBody
defaultAgentIdoptional