Skip to main content
POST
Creates a new email campaign with default settings in DRAFTED status Campaign name defaults to ‘Untitled Campaign’ if not provided

Overview

Creates a new email campaign with default settings in DRAFTED status Key Features:
  • Returns campaign ID and metadata.

Query Parameters

string
required
Your SmartLead API key for authentication

Request Body

string
Campaign name. If not provided, defaults to “Untitled Campaign”. Can be changed later via update settings.
number
Associate campaign with a specific client (for agency/white-label accounts). If not provided and user has client_id, automatically uses that value.
Minimal Required Fields: This endpoint only accepts name and client_id. Other campaign settings (track_settings, schedule, sequences, etc.) must be configured using separate update endpoints after creation.

Response

boolean
Always true for successful creation
number
Unique identifier for the newly created campaign
string
Campaign name (either provided or “Untitled Campaign”)
string
ISO 8601 timestamp when campaign was created

Response Codes

Success
Campaign created successfully
Bad Request
Invalid request parameters or malformed request body
Unauthorized
Invalid or missing API key. Check your authentication.
Validation Error
Request validation failed. Check parameter types and required fields.
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.

Implementation Details

What Happens:
  1. Campaign is created with minimal data (just name and optional client_id)
  2. Campaign starts in DRAFTED status
  3. Campaign name defaults to “Untitled Campaign” if not provided
  4. Client ID is automatically set if user is a client
  5. Returns campaign ID immediately for further configuration
Default Settings:
  • Status: DRAFTED
  • Track Settings: Not set (configure later)
  • Schedule: Not set (configure later)
  • Sequences: Empty (add later)
  • Email Accounts: None (add later)
  • Leads: None (add later)
Response Format: Direct object with ok, id, name, created_at
Newly created campaigns cannot send emails yet. You must configure sequences, add email accounts, and add leads before starting the campaign.

Next Steps

After creating a campaign, follow this workflow:
1

Add Email Sequences

Create your email sequence (initial email + follow-ups)
Update Sequences
2

Add Email Accounts

Associate sender email accounts with the campaign
Add Email Accounts
3

Add Leads

Upload your prospect list (up to 400 leads per request)
Add Leads
4

Configure Schedule

Set sending hours, timezone, and frequency
Update Schedule
5

Configure Settings

Set tracking, limits, and stop conditions
Update Settings
6

Start Campaign

Activate the campaign to begin sending
Update Status

Campaign Naming Best Practices

Choose names that clearly indicate the campaign purpose and timeframe
  • ✅ Good: “SaaS Founders Q1 2024”
  • ❌ Bad: “Campaign 1”
Add the quarter or month to track performance over time
  • “Q1 2024 Enterprise Outreach”
  • “Jan 2024 Product Launch”
Make it clear who you’re targeting
  • “Healthcare CFOs - Q1”
  • “Tech Startup CTOs”

Complete Example Workflow

Python - Complete Campaign Setup