---
title: "Create tag"
method: POST
path: "/tags"
tags: ["Tags"]
---

# Create tag

`POST /tags`

Creates a tag definition. Tag names are normalized to lowercase with spaces replaced by hyphens.

## Request body

- object
  - `name` string, required — Tag name. Normalized to lowercase with spaces replaced by hyphens.
  - `color` string — Tag color. One of: gray, red, orange, amber, yellow, lime, green, emerald, teal, cyan, sky, blue, indigo, violet, purple, fuchsia, pink, rose. Defaults to gray.

## Response `200`

Tag created

- object
  - `success` boolean
  - `tag` TagDefinition
    - `id` string
    - `name` string
    - `color` string, nullable
    - `isSystem` boolean

## Other responses

- `400` — Invalid tag color
- `401` — Unauthorized
- `409` — A tag with this name already exists
- `500` — Tag could not be created

## Changes

> 121 revisions in range; 3 could not be searched.

- **2026-08-19** `ba3a29c6eb33` — 4 info
  - added the optional property `retryable` to the response with the `400` status
  - added the optional property `retryable` to the response with the `401` status
  - added the optional property `retryable` to the response with the `409` status
  - added the optional property `retryable` to the response with the `500` status
- **2026-08-16** `6fd2903b91ce` — 4 info
  - added the optional property `code` to the response with the `400` status
  - added the optional property `code` to the response with the `401` status
  - added the optional property `code` to the response with the `409` status
  - added the optional property `code` to the response with the `500` status
- **2026-08-02** `36f92fc0caa2` — 4 breaking
  - the response property `success` became optional for the status `400`
  - the response property `success` became optional for the status `401`
  - the response property `success` became optional for the status `409`
  - the response property `success` became optional for the status `500`
- **2026-06-11** `ad2d3114269a` — 1 info
  - endpoint added

[Change history](https://skmtc.dev/sequenzy/apis/sequenzy-api/changes/tags/post.md)

---

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