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

# Create label

`POST /labels`

Create label

## Request body

- CreateLabel
  - `id` string, required — Label ID
  - `name` string, required — Label name
  - `color` 'salmon' | 'lightskyblue' | 'gold' | 'plum' | 'silver' | 'mediumturquoise' | 'violet' | 'goldenrod' | 'cornflowerblue' | 'greenyellow' | 'cyan' | 'lightpink' | 'mediumaquamarine' | 'orangered' | 'deepskyblue' | 'limegreen' | 'darkorange' | 'lightsteelblue' | 'mediumpurple' | 'rebeccapurple', required — Label color

## Response `200`

OK

- ResponseSuccess
  - `success` boolean

## Other responses

- `400` — Wrong request parameters
- `500` — Internal Error

---

[API](https://skmtc.dev/whapi/apis/whatsapp-api.md) · [All operations](https://skmtc.dev/whapi/apis/whatsapp-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/whapi/whatsapp-api/revisions/40ab05abffdb/schema)
