Skip to main content

Endpoint

PUT /backend/leads/{id}/status

Path Parameters

id
string
required
Lead ID

Body Parameters

status_id
string
required
New status ID

Request Example

curl -X PUT "https://api.leavo.ai/backend/leads/lead-uuid/status" \
  -H "Authorization: Bearer your_api_key_here" \
  -H "Content-Type: application/json" \
  -d '{
    "status_id": "new-status-uuid"
  }'

Response

{
  "success": true,
  "data": {
    "id": "lead-uuid",
    "name": "John Smith",
    "status": {
      "id": "new-status-uuid",
      "name": "Qualified",
      "color": "#3B82F6"
    },
    "updated_at": "2024-01-15T14:00:00Z"
  }
}