Add Agent to Queue

Resource

https://api.infobip.com/ccaas/queues/{queueId}/agents

Path Params

Property name Type
queueId string

 

Body Params

Property name Type
agentId string

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"
}
					
				

Use this method to add an agent to queue.

Parameters

Property name Type Description
queueId string Required - Queue Id to assign an agent to
agentId string Required - Agent Id to assign to queue