---
title: "Create a Label"
method: POST
path: "/api/v4/labels"
tags: ["Labels"]
---

# Create a Label

`POST /api/v4/labels`

Creates a new label.

## Request body

- LabelRequest — POST body for creating a label
  - `active` boolean — If false the Label is disabled
  - `description` string — Description of the Label
  - `name` string, required — Name of the Label

## Response `200`

Success

- LabelResponse — Response schema for single label
  - `data` Label
    - `active` boolean — If false the Label is disabled
    - `client_id` string, required — client_id owner of the label
    - `description` string — Description of the Label
    - `id` string — id of the Label. This UUID Version 4 is a universally unique identifier.
    - `name` string — Name of the Label
    - `slug` string, required — Slug of the Label. Its autogenerated, downcasing all letters, transliterating Unicode characters into alphanumeric strings (e.g. `á` into `a`), stripping punctuation and replacing spaces with `-`

## Other responses

- `400` — Bad request
- `401` — Unauthorized
- `500` — Internal server error

---

[API](https://skmtc.net/cabify/apis/ride-hailing-api.md) · [All operations](https://skmtc.net/cabify/apis/ride-hailing-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/cabify/ride-hailing-api/versions/8da1cb1270df/schema)
