Skip to main content
PUT
Add an agent

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).

Body

application/json
firstname
string
required

First name

lastname
string
required

Last name

email
string<email>
required

Email

pass
string
required

Password

status_outbound
boolean

Does agent have outbound calls allowed?

daily_price_limit
integer

Daily price limit for all calls in EUR. Usually allowed values are from 1 to 200 EUR. Leave empty for using default value.

Required range: 1 <= x <= 200
extension
integer

Extension of an agent. Extension must be four digits long and be unique across whole company.

Required range: 1000 <= x <= 9999
call_number_id
integer

Default outbound number ID

Required range: x >= 1

Response

No error

responseData
object
required