Lead Management
Update Lead
Update lead contact information and custom fields. Changes apply globally across all campaigns.
POST
Path Parameters
number
required
The campaign ID (used for validation and audit logging)
number
required
The lead ID to update
Query Parameters
string
required
Your SmartLead API key
Request Body
string
required
Lead’s email address (required field, even if not being changed)
string
Lead’s first name
string
Lead’s last name
string
Lead’s phone number
string
Company name
string
Company website
string
Lead’s location
string
LinkedIn profile URL
string
Company URL
object
Custom fields object (maximum 200 key-value pairs). Custom fields are merged with existing fields, not replaced.
Response Codes
Success
Lead updated successfully
Unauthorized
Invalid or missing API key
Not Found
Campaign or lead not found, or you don’t have access
Validation Error
Missing required email field or invalid custom_fields object size
Internal Server Error
Server error occurred
