Skip to main content
PUT
/
leads
/
{id}
/
status
Upsert lead status
curl --request PUT \
  --url https://flozy-backend-1042419926531.us-central1.run.app/api/v1/external/leads/{id}/status \
  --header 'Content-Type: application/json' \
  --header 'X-API-Key: <api-key>' \
  --data '
{
  "status_name": "in_progress"
}
'
{
  "http_code": 200,
  "status": "success",
  "message": "Lead status updated",
  "data": {
    "lead_id": 42,
    "status": {
      "name": "in_progress",
      "label": "In Progress",
      "color": "#3b82f6",
      "created": false
    }
  }
}

Authorizations

X-API-Key
string
header
required

Your Flozy API key. Starts with flz_live_.

Path Parameters

id
integer
required

Body

application/json
status_name
string
required
Maximum string length: 100
Example:

"in_progress"

Response

Status applied.