Get Agent - Early Access
Resource
https://api.infobip.com/ccaas/1/agents/{agentId}
Path Params
Use this method to get a single agent.
| Property name | Type | Description |
|---|---|---|
| *agentId | string | Required - Agents id to get |
Request Example
GET /ccaas/1/agents/97457D13B1FC79AF3C1A1096AE7E77AB HTTP/1.1
Host: api.infobip.com
Authorization: Basic QWxhZGRpbjpvcGVuIHNlc2FtZQ==
Response
{
"id": "97457D13B1FC79AF3C1A1096AE7E77AB",
"displayName": "Angus Young",
"status": "ACTIVE",
"role": "SUPERVISOR",
"enabled": true,
"createdAt": "2019-05-10T07:45:23.777+0000",
"updatedAt": "2019-05-10T09:53:58.463+0000"
}
{
"statusCode": "ERROR",
"message": "Invalid id '97457D13B1FC79AF3C1A1096AE7E77AB' given! No such entity exists."
}