Skip to main content
POST
Edit a number

Authorizations

Authorization
string
header
required

HTTP Basic Authentication. Use your API Access Key ID as the username and your API Access Key Secret as the password. Generate keys in the CloudTalk Dashboard under Account -> Settings -> API Keys (https://dashboard.cloudtalk.io/menu/account/settings/API-keys).

Path Parameters

id
integer
required

Number ID to edit

Body

application/json
internal_name
string

Internal name

connected_to
integer

Routing type. Where is the number connected. 0 = 'group', 1 = 'agent', 2 = 'conference room', 3 = 'fax'

source_id
integer

Source ID of where is the number located, e.g. Agent ID, Group ID...

Response

No error

responseData
object
required