Create Agent (Token Authentication)

Create a new agent in the system.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…

This API enables you to create a new agent in your CloudAgent account.

To use this API with the help of a token, follow these steps:

  1. Generate the Token: Use the 'Generate Token' API to obtain an authentication token.
  2. Enter the Token ID: Navigate to the right section of this page, under the 'AUTHORIZATION' tab. Here, input the generated token ID.
  3. With the token entered, pass the below header and body parameters:
❗️

Rate Limit

This API permits up to 5 requests per minute.


📘

APIs Domain Name

For domestic ccaas - enter the domain: in1-ccaas-api.ozonetel.com

For international ccaas - enter the domain: api.ccaas.ozonetel.com

For Partners - enter the respective URL

Possible Responses

Success Response"{""Status"": ""Success"",
""Message"": ""Agent Created Successfully""}"
Passing Invalid Token Value"{""status"": ""false"",""message"": ""Invalid Token"",
""data"": null}"
Missing Token Value{"status": "false","message": "Token Should Not be Null or Empty.","data": null}
Missing apiKey key / Missing apiKey Value"{""status"": ""false"",""message"": ""Api Key Should Not be Null or Empty."",
""data"": null}"
Passing Invalid apiKey Value{"status": "false","message": "Invalid User Details","data": null}
Passing Invalid userName Value / Missing userName key / Missing userName Value{"status": "false","message": "Invalid User Details","data": null}
Passing Invalid agentId Value / Missing agentId key / Missing agentId Value /"{
""status"": ""error"",
""message"": ""Agent not found""
}"
Passing Invalid agentName Value"{""Status"": ""Fail"",""Message"": {
""agentName"": ""The agent name must not be empty and it should be between 2 and 50 alphanumeric characters and allow special characters such as., @, _, -""}}"
Missing agentName Value"{""status"": ""error"",
""message"": ""Agent Name is required""}"
Passing Invalid password Value{"message": "Password length must be between 3 and 50 characters","status": "error"}
Missing password Value"{""message"": ""Password is required"",
""status"": ""error""}"
Passing Invalid email Value"{""message"": ""Invalid email format"",
""status"": ""error""}"
Missing email key{"message": "Email should not be null or empty","status": "error"}
Missing email Value{"message": "Email should not be null or empty","status": "error"}
More than 5 requests per minute"{""status"": ""error"",
""message"": ""Max limit exceeded""}"
Passing spaces or commas in Agent Data field{"message": "Agent data must be between 2 and 100 characters using only letters, numbers, and special characters like ., @, _, -","status": "error"}
Passing invalid screenRecording.{"message": "Invalid sipLocation", "status": "error"}
Query Params
boolean

Set this parameter to true to receive a detailed success response. Any other value will be ignored by the API.

Body Params
string

CloudAgent account username

string

Unique ID for the agent

string

Full name of the agent

string

Password for agent login

string

Agent's email address

string

Auto answer setting for the agent (e.g., All, None, Inbound, Outbound.)

string

SIP server location for the agent. Give the location name.

string

Additional data for internal use.

string

Comma-separated group names assigned to the agent

boolean

Enable or disable screen recording

boolean

Enable inbound calling mode

boolean

Enable manual calling mode

boolean

Enable preview dialing mode

boolean

Enable progressive dialing mode

boolean

Enable chat mode

boolean

Enables blended mode

boolean

Enable inbound calls in blended mode

boolean

Enable manual dialing in blended mode

boolean

Enable preview mode in blended setup

boolean

Enable progressive dialing in blended setup

boolean

Enable chat in blended mode

callControls
object

Permissions for the agent on various call controls

skills
array of objects

List of skills assigned to the agent with priority levels

skills
Response

Language
Credentials
Bearer
URL
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json