Deprecation Update
This API will be deprecated by 30th April 2025.
We recommend to start using the new version of the APIs:
This API is used to edit an agent's details in CloudAgent. The user MUST update the ‘action’ parameter with the Edit function.
Prerequisites
To access this API we need to pass the following parameters.
Parameter | Desciption |
---|---|
apiKey* | Available in CloudAgent admin login |
userName* | CloudAgent user name |
agentName* | Name of the agent |
agentId* | Unique agentId to be assigned to agent |
agentPassword* | Password for the agent to login |
action* | Edit: To update an existing agent |
skill | Skill names with comma separation, that are to be assigned to agent while creating |
agentIdNew* | agentIdNew parameter can be passed if you want to edit agentId |
assignSkill | Skill names with comma separation, that are to be assigned to an agent while updating |
unAssignSkill | Skill names with comma separation, that are to be unassigned to an agent while updating |
sipLocation | Add the valid SIP location if needed. |
callControllers | You can add the call controllers that will be assigned to the agent. Please pass the parameter in the format { With the above example parameter, the agent will be enabled with the following options:
|
Note
Parameters with ‘*’ are considered to be mandatory parameters.
Possible Responses
Response | Output |
---|---|
Success Create response | { |
Invalid api_key | { |
Invalid action | { |
Invalid username | { |
Empty fields | { |
Name exists | { |
Passing callControllers parameter in the wrong format | { |
Passing invalid sipLocation | { |
Further Insights
By default, the domain name is https://in1-ccaas-api.ozonetel.com. Please refer here to change based on the need.