Creates new sequences (id: null) or updates existing ones. Each sequence needs: seq_number, email_body, and delay in days. Cannot modify while campaign is ACTIVE - pause first.
Overview
Create new email sequences or update existing ones for a campaign. Sequences define your multi-step email outreach flow.
Key Features :
Create new sequences by setting id: null
Update existing sequences by including their id
Configure delays between emails (0-365 days)
Add A/B testing variants with seq_variants
Subject line optional for follow-ups (uses “Re:” on previous)
Cannot modify sequences while campaign is ACTIVE . Pause campaign first, make changes, then resume.
Path Parameters
Query Parameters
Request Body
Array of sequence objects Sequence ID (null for new, number for update)
Sequence position (1, 2, 3, etc.)
Email subject line (can include )
Email content (supports HTML and )
Delay configuration Days to wait before sending
curl -X POST "https://server.smartlead.ai/api/v1/campaigns/{campaign_id}/sequences?api_key=YOUR_KEY" \
-H "Content-Type: application/json" \
-d '{"key": "value"}'
Response Codes
Invalid request parameters or malformed request body
Invalid or missing API key. Check your authentication.
The requested resource (campaign, lead, email account, etc.) does not exist or you don’t have access to it
Request validation failed. Check parameter types, required fields, and value constraints.
Too many requests. Please slow down and retry after the rate limit resets.
Server error occurred. Please try again or contact support if the issue persists.
API is temporarily unavailable or under maintenance. Please try again later.
200 - Success
401 - Unauthorized
404 - Not Found
422 - Validation Error
{
"success" : true ,
"data" : {}
}
Personalization Variables
Use these in subject and body:
{{first_name}}, {{last_name}}
{{company_name}}, {{website}}
{{location}}, {{linkedin_profile}}
Any custom field: {{job_title}}, {{industry}}, etc.
Sequence Best Practices
Keep first email under 125 words for best response rates
Wait 3-5 days between follow-ups - don’t be too aggressive
Each email should provide new value, not just “checking in”
Implementation Details
Use id:null to create new sequences. Include existing id to update. Cannot modify sequences while campaign is active.
Response Format : object