Agent Details (Basic Authentication)

This API retrieves detailed information about an agent in your CloudAgent account.

❗️

Rate Limit:

A maximum of 10 requests per minute is allowed.

👍

Note:

Make sure the admin setting 'API Authentication' is set to 'BASIC_AUTH', If you are using this API.

Header parameters

ParameterDescription
apiKey*Your CloudAgent account API Key
Content-Typeapplication/json

Body Params

{
"userName": "xxxxxx",
"agentId": "xxxxxx"
}

Possible responses

Success response{
"message": [
{
"State": "NOT READY",
"Since": "00:06:54",
"Skill": "Hyderabad, offline_hyd, webChat, whatsapp",
"AgentName": "xxxxx",
"PhoneNumber": null,
"AgentId": "xxxxx",
"Mode": "Manual"
}
],
"status": "success"
}
If userName is empty"status": "error"
"message": "userName should not be empty"
If apiKey is empty"status": "error"
"message": apiKey should not be empty"
If userName or apiKey is invalid"status": "error"
"message": "userName or apiKey is Invalid"
If campaignName is invalid"status": "error",
"message": "campaignName is Invalid"
If rate limit exceeds"status": "error"
"message": "only 1 hit will be allowed within a time frame of 5mins"
Language
URL
Click Try It! to start a request and see the response here!