Skip to main content
GET
Retrieves all email campaigns for the authenticated user with comprehensive campaign data including status, schedule settings, tracking configuration, AI matching preferences, and sending limits Essential for dashboard displays, campaign selection interfaces, and bulk operations across portfolio.

Overview

Retrieves all email campaigns for the authenticated user with comprehensive campaign data including status, schedule settings, tracking configuration, AI matching preferences, and sending limits Key Features:
  • Returns campaigns ordered by ID descending (newest first)
  • Supports optional client_id filtering for agency/white-label accounts managing multiple clients
  • When include_tags=true, returns campaign tags with tag IDs, names, and colors for categorization and filtering
  • Returns direct array of campaign objects (not wrapped)

Query Parameters

string
required
Your SmartLead API key
number
Filter campaigns by specific client ID
boolean
default:"false"
Include campaign tags in the response
string
Only return campaigns whose name contains this text (case-insensitive). Max 255 characters.
string
Only return campaigns with this status: ACTIVE, PAUSED, DRAFTED, COMPLETED, STOPPED or ARCHIVED.
number
Maximum number of campaigns to return, from 1 to 100. If you leave it out, every matching campaign is returned in one response.
number
default:"0"
Number of campaigns to skip before returning results (0 or more). Only applies when limit is set. Campaigns are ordered newest first (by ID, descending), so page with limit=100&offset=0, then offset=100, and so on until fewer than limit come back.
Accounts with many campaigns should always pass limit, or filter with name / status, to keep responses small. This matters most for AI agents, where every returned campaign costs context.

Response

array
The response body is a JSON array of campaign objects (not wrapped in an object)

Response Codes

Success
Campaigns retrieved successfully
Bad Request
A query parameter failed validation (for example limit above 100 or an unknown status)
Unauthorized
Invalid or missing API key
Internal Server Error
Server error occurred

Filtering Campaigns

You can filter campaigns by:
  • Client ID: Get campaigns for a specific client (client_id)
  • Name: Campaigns whose name contains some text (name)
  • Status: One campaign status (status)
  • Tags: Include tags with include_tags=true and filter on your end

Pagination

Pass limit (1 to 100) and offset to page through campaigns, newest first. Without limit, the endpoint returns every matching campaign in one response.
Cache campaign lists to reduce API calls. Only fetch when you need fresh data.

Common Use Cases

Get Active Campaigns Only

Python

Get Campaigns by Client

Python