Skip to main content
POST
/
api
/
v1
/
campaigns
/
{campaign_id}
/
leads
/
{lead_id}
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’s contact information, company details, and custom fields within a campaign.

Path Parameters

campaign_id
number
required
Campaign ID
lead_id
number
required
Lead ID

Query Parameters

api_key
string
required
Your SmartLead API key

Request Body

email
string
required
Lead email address
first_name
string
First name
last_name
string
Last name
company_name
string
Company name
phone_number
string
Phone number
website
string
Website URL
location
string
Geographic location
linkedin_profile
string
LinkedIn profile URL
company_url
string
Company website
custom_fields
object
Custom field key-value pairs (max 200 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"
    }
  }'

Response Example

{
  "success": true,
  "message": "Lead updated successfully"
}