---
title: "Get queues"
method: GET
path: "/rest/servicedeskapi/servicedesk/{serviceDeskId}/queue"
tags: ["Servicedesk"]
---

# Get queues

`GET /rest/servicedeskapi/servicedesk/{serviceDeskId}/queue`

This method returns the queues in a service desk. To include a customer request count for each queue (in the `issueCount` field) in the response, set the query parameter `includeCount` to true (its default is false).

**[Permissions](#permissions) required**: service desk's Agent.

## Path parameters

- `serviceDeskId` string, required

## Query parameters

- `includeCount` boolean
- `start` integer
- `limit` integer

## Response `200`

Returns the queues of the service desk, on the specified page of the results.

- PagedDTOQueueDTO
  - `_expands` string[]
  - `_links` PagedLinkDTO
    - `base` string, uri — Base URL for the REST API calls.
    - `context` string
    - `next` string, uri — REST API URL for the next page, if there is one.
    - `prev` string, uri — REST API URL for the previous page, if there is one.
    - `self` string, uri — REST API URL for the current page.
  - `isLastPage` boolean — Indicates if this is the last page of records (true) or not (false).
  - `limit` integer — Number of items to be returned per page, up to the maximum set for these objects in the current implementation.
  - `size` integer — Number of items returned in the page.
  - `start` integer — Index of the first item returned in the page.
  - `values` QueueDTO[] — Details of the items included in the page.
    - `_links` SelfLinkDTO
      - `self` string, uri
    - `fields` string[] — Fields returned for each request in the queue.
    - `id` string — ID for the queue.
    - `issueCount` integer — The count of customer requests in the queue.
    - `jql` string — JQL query that filters reqeusts for the queue.
    - `name` string — Short name for the queue.

## Other responses

- `401` — Returned if the user is not logged in.
- `403` — Returned if the user does not have permission to complete this request.
- `404` — Returned if the service desk does not exist.
- `500` — Internal Server Error.

---

[API](https://skmtc.net/atlassian/apis/service-management-public-rest-api.md) · [All operations](https://skmtc.net/atlassian/apis/service-management-public-rest-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/atlassian/service-management-public-rest-api/versions/0c91941a1ff9/schema)
