curl -X POST "https://server.smartlead.ai/api/v1/campaigns/123/leads/789/?api_key=YOUR_KEY" \
-H "Content-Type: application/json" \
-d '{
"email": "john.doe@company.com",
"first_name": "John",
"last_name": "Doe",
"company_name": "ACME Corp Updated",
"custom_fields": {
"job_title": "CEO",
"company_size": "50-200"
}
}'
{
"success": true,
"message": "Lead updated successfully"
}
Update lead information including contact details and custom fields
curl -X POST "https://server.smartlead.ai/api/v1/campaigns/123/leads/789/?api_key=YOUR_KEY" \
-H "Content-Type: application/json" \
-d '{
"email": "john.doe@company.com",
"first_name": "John",
"last_name": "Doe",
"company_name": "ACME Corp Updated",
"custom_fields": {
"job_title": "CEO",
"company_size": "50-200"
}
}'
{
"success": true,
"message": "Lead updated successfully"
}
curl -X POST "https://server.smartlead.ai/api/v1/campaigns/123/leads/789/?api_key=YOUR_KEY" \
-H "Content-Type: application/json" \
-d '{
"email": "john.doe@company.com",
"first_name": "John",
"last_name": "Doe",
"company_name": "ACME Corp Updated",
"custom_fields": {
"job_title": "CEO",
"company_size": "50-200"
}
}'
{
"success": true,
"message": "Lead updated successfully"
}