Skip to main content
POST
/
api
/
v1
/
tags
Create Tag
curl --request POST \
  --url https://api.sequenzy.com/api/v1/tags \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "name": "<string>",
  "color": "<string>"
}
'
{
  "success": true,
  "tag": {
    "id": "tag_abc123",
    "name": "premium",
    "color": "blue",
    "isSystem": false
  }
}
Create a tag definition for your company. Tag names are normalized to lowercase with spaces replaced by hyphens (for example, VIP Customer becomes vip-customer).

Request

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.
curl -X POST "https://api.sequenzy.com/api/v1/tags" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"name": "premium", "color": "blue"}'

Responses

{
  "success": true,
  "tag": {
    "id": "tag_abc123",
    "name": "premium",
    "color": "blue",
    "isSystem": false
  }
}