curl -X PUT "https://api.example.com/api/leads/123" \ -H "Authorization: Bearer YOUR_API_TOKEN" \ -H "Content-Type: application/json" \ -d '{ "campaign_id": 456, "phone_number": "+1234567890", "variables": { "name": "John Doe", "company": "Acme Corp" } }'
{ "message": "Lead updated successfully" }
Update an existing lead in your campaigns
created
completed
reached-max-retries
campaign_id
phone_number
status
variables