Skip to main content
PUT
Update Number

Authorizations

Authorization
string
header
required

Bearer token authentication

Path Parameters

id
string
required

The ID of the number.

Body

application/json
nickname
string
required

Optional nickname for the phone number. Must be at least 1 character. Must not be greater than 255 characters.

Example:

"Support Line"

inbound_agent_id
string | null

Agent to handle inbound calls. The id of an existing record in the agents table.

Example:

"01HZXK3B6Y9R8F5QWES6V4M2N7"

outbound_agent_id
string | null

Agent to handle outbound calls. The id of an existing record in the agents table.

Example:

"01HZXK3B6Y9R8F5QWES6V4M2N8"

Response

200 - application/json
data
object