Update Phone
Update a phone’s configuration (nickname and/or agent assignments).
Agent assignment behavior:
- Provide
inbound_version_idto set which agent handles incoming calls - Provide
outbound_version_idto set which agent handles outgoing calls - Assigning a version publishes it; if the agent already has a different published version in another phone, the request will fail since an agent can only have one published version at a time.
Autorizaciones
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Parámetros de ruta
Cuerpo
The nickname given to the phone number
The unique identifier for the agent that will receive the call when this phone receives an inbound call
The unique identifier for the agent that will make the calls when using this phone to make outbound calls
Respuesta
Successful Response
Unique identifier for the phone register record
The phone number
The telephony provider (NETELIP for purchased numbers, CUSTOM for imported numbers)
netelip, custom Current status of the phone register (RESERVED, ASSIGNED, RELEASED, FINISHED)
reserved, assigned, released, finished The nickname given to the phone number
The date and time when the phone was released
The date and time when the phone is scheduled to be released. If set, the phone will be released at this time at the end of the billing period.
The date and time when the phone was assigned
The unique identifier for the agent that will receive the call when this phone receives an inbound call
The unique identifier for the agent that will make the calls when using this phone to make outbound calls