---
title: "Create a label"
method: POST
path: "/labels"
tags: ["Labels"]
---

# Create a label

`POST /labels`

Creates a new label in a workspace.

## Request body

- object
  - `workspaceId` string, required
  - `text` string, required
  - `color` 'pattens-blue' | 'feta' | 'pink-lace' | 'pippin' | 'peach-cream' | 'fog' | 'half-and-half' | 'lime-flurish' | 'snowy-mint' | 'blue-chalk' | 'mabel' | 'silver-sand', required

## Response `201`

Label created

- object
  - `data` object, required
    - `id` string, required
    - `color` string, required
    - `name` string, nullable, required

## Other responses

- `400` — Validation error
- `401` — Unauthorized
- `403` — Forbidden
- `429` — Rate limit exceeded
- `500` — Internal server error

---

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