English
Update an existing lead
/backend/leads/{id}
curl -X PUT "https://api.leavo.ai/backend/leads/lead-uuid" \ -H "Authorization: Bearer your_api_key_here" \ -H "Content-Type: application/json" \ -d '{ "name": "John Smith Jr", "company": "New Company", "status_id": "new-status-uuid" }'
{ "success": true, "data": { "id": "lead-uuid", "name": "John Smith Jr", "phone": "+15551234567", "email": "[email protected]", "company": "New Company", "status": { "id": "new-status-uuid", "name": "Qualified", "color": "#3B82F6" }, "updated_at": "2024-01-15T14:00:00Z" } }