Skip to main content

Endpoint

POST /backend/tags

Body Parameters

name
string
required
Tag name
color
string
required
Color in hexadecimal (e.g., #F59E0B)

Request Example

curl -X POST "https://api.leavo.ai/backend/tags" \
  -H "Authorization: Bearer your_api_key_here" \
  -H "Content-Type: application/json" \
  -d '{
    "name": "Priority",
    "color": "#EF4444"
  }'

Response

{
  "success": true,
  "data": {
    "id": "new-tag-uuid",
    "name": "Priority",
    "color": "#EF4444",
    "created_at": "2024-01-15T10:30:00Z"
  }
}