Get Queues

Get all queues with pagination, filter, and sort

Resource

https://api.infobip.com/ccaas/queues

Query Params

Property name Type Description
limit int (10) Size of the result page
page int (0) Index of the result page
orderBy array_string (property:id, direction:ASC) property, direction(ASC, DESC)
queueIds array_string optional filter
agentId string
optional filter

Request Example

					GET /ccaas/1/queues HTTP/1.1
Host: api.infobip.com
Authorization: Basic QWxhZGRpbjpvcGVuIHNlc2FtZQ==
					
				

Response

					{
    "queues": [
        {
            "id": "3BD35AB01DFD27E5AB48D57DC9DD02AB",
            "name": "Croatian Support",
            "createdAt": "2019-05-15T07:51:15.187+0000",
            "updatedAt": "2019-05-15T07:51:15.187+0000"
        },
        {
            "id": "5B7C4A0F8CC7D707908722AD8919E202",
            "name": "Spanish Support",
            "createdAt": "2019-05-15T07:51:01.446+0000",
            "updatedAt": "2019-05-15T07:51:01.446+0000"
        },
        {
            "id": "92C44D4D77DA67EABBD1EF9098A70754",
            "name": "Keyword STOP",
            "createdAt": "2019-05-15T07:51:39.652+0000",
            "updatedAt": "2019-05-15T07:51:39.652+0000"
        },
        {
            "id": "C685C19A7954C3A17C7F1002FED32C74",
            "name": "English Support",
            "createdAt": "2019-05-15T07:50:45.155+0000",
            "updatedAt": "2019-05-15T07:50:45.155+0000"
        }
    ],
    "pagination": {
        "totalItems": 4,
        "page": 0,
        "limit": 10,
        "orderBy": "id:ASC"
    }
}
					
				
					{
    "statusCode": "ERROR",
    "message": "Page size must not be less than one!"
}