v97

latestOpenAPI 3.1.0raw.githubusercontent.com2026-08-04231129815.9 KB
Tags

Create tag

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

post/tags

Request body

namestring required

Tag name. Normalized to lowercase with spaces replaced by hyphens.

colorstring

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.

Example request

{
  "name": "premium",
  "color": "blue"
}

Response

Tag created

successboolean

Example response

{
  "success": true,
  "tag": {
    "id": "tag_abc123",
    "name": "premium",
    "color": "#f97316"
  }
}