Campaign Management
Create Campaign
Creates a new email campaign with default settings in DRAFTED status.
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
Your SmartLead API key for authentication
Request Body
Campaign name. If not provided, defaults to “Untitled Campaign”. Can be changed later via update settings.
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
Always
true for successful creationUnique identifier for the newly created campaign
Campaign name (either provided or “Untitled Campaign”)
ISO 8601 timestamp when campaign was created
Response Codes
Campaign created successfully
Invalid request parameters or malformed request body
Invalid or missing API key. Check your authentication.
Request validation failed. Check parameter types and required fields.
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.
Implementation Details
What Happens:- Campaign is created with minimal data (just name and optional client_id)
- Campaign starts in DRAFTED status
- Campaign name defaults to “Untitled Campaign” if not provided
- Client ID is automatically set if user is a client
- Returns campaign ID immediately for further configuration
- 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)
ok, id, name, created_at
Next Steps
After creating a campaign, follow this workflow:Add Email Sequences
Add Email Accounts
Add Leads
Configure Schedule
Configure Settings
Start Campaign
Campaign Naming Best Practices
Use Descriptive Names
Use Descriptive Names
Choose names that clearly indicate the campaign purpose and timeframe
- ✅ Good: “SaaS Founders Q1 2024”
- ❌ Bad: “Campaign 1”
Include Time Period
Include Time Period
Add the quarter or month to track performance over time
- “Q1 2024 Enterprise Outreach”
- “Jan 2024 Product Launch”
Indicate Target Audience
Indicate Target Audience
Make it clear who you’re targeting
- “Healthcare CFOs - Q1”
- “Tech Startup CTOs”
Complete Example Workflow
Python - Complete Campaign Setup
