Skip to main content

Endpoint

POST /backend/status

Body Parameters

name
string
required
Status name
color
string
required
Color in hexadecimal (e.g., #10B981)
order
integer
Display order

Request Example

curl -X POST "https://api.leavo.ai/backend/status" \
  -H "Authorization: Bearer your_api_key_here" \
  -H "Content-Type: application/json" \
  -d '{
    "name": "In Progress",
    "color": "#F59E0B",
    "order": 2
  }'

Response

{
  "success": true,
  "data": {
    "id": "new-status-uuid",
    "name": "In Progress",
    "color": "#F59E0B",
    "order": 2,
    "created_at": "2024-01-15T10:30:00Z"
  }
}