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

# POST /labels

`POST /labels`

## Request body

- Segment
  - `id` string, uuid
  - `name` string, required
  - `code` string, nullable
  - `parent` object, nullable
    - `id` string, uuid
    - `name` string, required
    - `code` string, nullable
    - `parent` object, required
    - `is_archived` boolean
    - `created_at` string, date-time
    - `url` string
  - `is_archived` boolean
  - `created_at` string, date-time, required
  - `url` string

## Response `201`

- Segment
  - `id` string, uuid
  - `name` string, required
  - `code` string, nullable
  - `parent` object, nullable
    - `id` string, uuid
    - `name` string, required
    - `code` string, nullable
    - `parent` object, required
    - `is_archived` boolean
    - `created_at` string, date-time
    - `url` string
  - `is_archived` boolean
  - `created_at` string, date-time, required
  - `url` string

## Other responses

- `400` — Bad Request - Invalid arguments or malformed request
- `401` — Unauthorized - Invalid or missing authentication token
- `403` — Forbidden - Insufficient permissions for this operation
- `404` — Not Found - Resource does not exist
- `409` — Conflict - Request conflicts with existing data
- `429` — Too Many Requests - Rate limit exceeded
- `500` — Internal Server Error

---

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