---
title: "List labels for an issue"
method: GET
path: "/repos/{owner}/{repo}/issues/{issue_number}/labels"
tags: ["issues"]
---

# List labels for an issue

`GET /repos/{owner}/{repo}/issues/{issue_number}/labels`

Lists all labels for an issue.

## Path parameters

- `owner` string, required
- `repo` string, required
- `issue_number` integer, required

## Query parameters

- `per_page` integer
- `page` integer

## Response `200`

Response

- Label[]
  - `id` integer, required
  - `node_id` string, required
  - `url` string, uri, required — URL for the label
  - `name` string, required — The name of the label.
  - `description` string, nullable, required
  - `color` string, required — 6-character hex code, without the leading #, identifying the color
  - `default` boolean, required

## Other responses

- `301` — Moved permanently
- `404` — Resource not found
- `410` — Gone

---

[API](https://skmtc.net/github/apis/github-v3-rest-api-4.md) · [All operations](https://skmtc.net/github/apis/github-v3-rest-api-4/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/github/github-v3-rest-api-4/versions/ee6c7a46328e/schema)
