Add an agent
Creates an agent. firstname, lastname, email and pass are required. The optional fields allow outbound calling (status_outbound), cap daily call spend in EUR (daily_price_limit, 1–200), assign a four-digit extension that must be unique across the company (1000–9999), and set a default outbound number (call_number_id). Returns 201 with the new agent’s ID; 403 means the account has reached its maximum number of agents.
Note the core API creates with PUT, not POST.
Authorizations
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
First name
Last name
Password
Does agent have outbound calls allowed?
Daily price limit for all calls in EUR. Usually allowed values are from 1 to 200 EUR. Leave empty for using default value.
1 <= x <= 200Extension of an agent. Extension must be four digits long and be unique across whole company.
1000 <= x <= 9999Default outbound number ID
x >= 1Response
No error