---
title: "List Labels"
method: GET
path: "/v2/labels"
tags: ["Ticket API"]
---

# List Labels

`GET /v2/labels`

List labels for a team.

## Query parameters

- `teamId` string
- `pageSize` integer — Maximum number of results to return. Default is 10000, maximum is 10000.
- `pageToken` string — Token for pagination. Leave empty for the first request.

## Response `200`

Success

- SvhelpPublicapiListLabelsResponse
  - `data` SvhelpPubapimodelsLabel[]
    - `id` string — The ID of the label.
    - `teamId` string — The ID of the team that the label belongs to.
    - `name` string — The name of the label.
    - `description` string — The description of the label.
  - `nextPageToken` string, nullable — Token for retrieving the next page of results. Empty if no more results.

## Other responses

- `default` — Error

---

[API](https://skmtc.net/serval/apis/serval-public-api.md) · [All operations](https://skmtc.net/serval/apis/serval-public-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/serval/serval-public-api/versions/0549515e9384/schema)
