Endpoint
Body Parameters
Color in hexadecimal (e.g., #10B981)
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"
}
}