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

# Create Label

`POST /label`

Create a new label in a workspace

## Request body

- object
  - `name` string, required
  - `color` string, required
  - `workspaceId` string, required
  - `taskId` string

## Response `200`

Label created successfully

- object
  - `id` string, required
  - `name` string, required
  - `color` string, required
  - `createdAt` string, date-time, required
  - `taskId` string, nullable, required
  - `workspaceId` string, nullable, required

---

[API](https://skmtc.net/usekaneo/apis/kaneo-api.md) · [All operations](https://skmtc.net/usekaneo/apis/kaneo-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/usekaneo/kaneo-api/versions/09053e1c8b21/schema)
