Skip to main content
POST
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

number
required
The campaign ID

Query Parameters

string
required
Your SmartLead API key

Request Body

array
required
Array of sequence objects

Response Codes

Success
Request successful
Bad Request
Invalid request parameters or malformed request body
Unauthorized
Invalid or missing API key. Check your authentication.
Not Found
The requested resource (campaign, lead, email account, etc.) does not exist or you don’t have access to it
Validation Error
Request validation failed. Check parameter types, required fields, and value constraints.
Rate Limit Exceeded
Too many requests. Please slow down and retry after the rate limit resets.
Internal Server Error
Server error occurred. Please try again or contact support if the issue persists.
Service Unavailable
API is temporarily unavailable or under maintenance. Please try again later.

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