Get Agent Queues

Get all queues agent belongs to.


Path Params

Property name Type
agentId string


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 (2) property, direction(ASC, DESC)

Request Example

					PATCH /ccaas/1/agents/97457D13B1FC79AF3C1A1096AE7E77AB/queues HTTP/1.1
Authorization: Basic QWxhZGRpbjpvcGVuIHNlc2FtZQ==


    "queues": [
            "id": "FBDDA7F8B33417374ACC02F5265527E6",
            "name": "Queue 1",
            "createdAt": "2019-06-05T12:11:10.392+0000",
            "updatedAt": "2019-06-05T12:11:10.392+0000"
            "id": "FBDDA7F8B33417374ACC02F5265727E7",
            "name": "Queue 2",
            "createdAt": "2019-06-05T11:11:21.234+0000",
            "updatedAt": "2019-06-05T12:25:10.582+0000"
    "pagination": {
        "totalItems": 2,
        "page": 0,
        "limit": 10,
        "orderBy": "id:ASC"
  "statusCode": "ERROR",
  "message": "Invalid id '97457D13B1FC79AF3C1A1096AE7E77AB' given! No such entity exists."
    "statusCode": "ERROR",
    "message": "Page size must not be less than one!"

Use this method to get a list of queues, agent is assigned on, with pagination.


Property name Type Description
agentId string Required - Agent id to get queues
limit integer Size of the result page. If a limit count is given, no more than that many rows will be returned (but possibly less, if the query itself yields fewer rows). The default value is 10, the max value is 999.
page integer This parameter says to skip that many rows before beginning to return rows. If both page and limit appear, then page rows are skipped before starting to count the limit rows that are returned. The default value is 0.
orderBy string This parameter is used to order your results. If an order is not given, the default order id:asc will be applied. Possible ordering fields are properties. Ordering direction can be specified with modifiers asc for the ascending ordering or desc for the descending one.