---
title: "List labels"
method: GET
path: "/api/labels"
---

# List labels

`GET /api/labels`

## Request

- Base URL: `https://taskhold.com`
- URL: `https://taskhold.com/api/labels`
- Auth: HTTP bearer

Labels in the account.

## Response `200`

OK

- object
  - `labels` Label[]
    - `id` string, uuid
    - `name` string
    - `color` string

## Other responses

- `401`: Missing, malformed or unknown API key. `reason` is one of missing_key, bad_header, not_a_taskhold_key, unknown_key; `message` says what to do and `url` links to Settings.
- `402`: The key is valid but the account has no active subscription. `url` links to Billing.
- `500`: Server error

---

[API](https://skmtc.dev/taskhold/apis/taskhold-api.md) · [All operations](https://skmtc.dev/taskhold/apis/taskhold-api/llms.txt) · [OpenAPI document](https://skmtc.dev/taskhold/apis/taskhold-api/revisions/496ae75d7cdd?raw)
