Skip to main content
POST
Create Tag Handler

Headers

authorization
string | null

Cookies

ks_uat
string | null

Body

application/json

Request to create a new tag.

name
string
required

Tag name

Required string length: 1 - 100
color
string
default:000000

Tag color as 6-character hex string (e.g. 'FF5733')

Required string length: 6
Pattern: ^[0-9A-Fa-f]{6}$
description
string | null

Optional tag description

Maximum string length: 500

Response

Successful Response

Tag response model.

id
string<uuid>
required

Tag ID

name
string
required

Tag name

color
string
required

Tag color hex

tenant_id
string<uuid>
required

Tenant ID

created_at
string<date-time>
required

Creation timestamp

updated_at
string<date-time>
required

Last update timestamp

description
string | null

Tag description