logo
TagsCreate tag
Tags

Create tag

Creates a new AI tagging label for the workspace. Tag names must be unique (case-insensitive). Default color is #6b7280 (gray) if not provided.

curl -X POST "https://api.sendkit.ai/v1/tags" \
  -H "Content-Type: application/json" \
  -H "X-Api-Key: YOUR_API_KEY" \
  -H "Authorization: Bearer YOUR_API_TOKEN" \
  -d '{
  "name": "interested"
}'
{
  "success": true,
  "data": {
    "name": "meeting_booked",
    "description": "Lead agreed to schedule a meeting",
    "color": "#3b82f6"
  }
}
POST
/v1/tags
POST
API Key (header: X-Api-Key)
X-Api-Keystring
Required

Platform API key (sk_user_...) or Workspace API key (sk_...)

Platform API key (sk_user_...) or Workspace API key (sk_...)
Bearer Token
Bearer Tokenstring
Required

API key as Bearer token

API key as Bearer token
Content-Typestring
Required

The media type of the request body

Options: application/json
namestring
Required

Tag label name (required, trimmed, must be unique case-insensitively)

Min length: 1
descriptionstring

Description of what this tag represents (default empty string)

colorstring

Hex color code for UI display (default "#6b7280")

Request Preview
Response

Response will appear here after sending the request

Authentication

header
X-Api-Keystring
Required

API Key for authentication. Platform API key (sk_user_...) or Workspace API key (sk_...)

header
Authorizationstring
Required

Bearer token. API key as Bearer token

Body

application/json
namestring
Required

Tag label name (required, trimmed, must be unique case-insensitively)

descriptionstring

Description of what this tag represents (default empty string)

colorstring

Hex color code for UI display (default "#6b7280")

Responses