Add Agent to Queue
Resource
https://api.infobip.com/ccaas/1/queues/{queueId}/agents
Path Params
Use this method to add an agent to queue.
| Property name | Type | Description |
|---|---|---|
| *queueId | string | Required - Queue Id to assign an agent to |
Body Params
| Property name | Type | Description |
|---|---|---|
| *agentId | string | Required - Agent Id to assign to queue |
Request Example
POST /ccaas/1/queues/5B7C4A0F8CC7D707908722AD8919E202/agents HTTP/1.1
Host: api.infobip.com
Authorization: Basic QWxhZGRpbjpvcGVuIHNlc2FtZQ==
{
"agentId": "5BD4A3D2FEAD65DC90ACAF5607FD75F6"
}
Response
{
"statusCode": "SUCCESS",
"message": "Agent added to queue successfully."
}
{
"statusCode": "ERROR",
"message": "Invalid id '1E54701F74BD86A070B43DB49478D82C' given! No such entity exists."
}
{
"statusCode": "ERROR",
"message": "Required request body is missing or not valid"
}