Campaign Management
Get All Campaigns
Retrieves all email campaigns for the authenticated user with comprehensive campaign data including status, schedule set
GET
Documentation Index
Fetch the complete documentation index at: https://api.smartlead.ai/llms.txt
Use this file to discover all available pages before exploring further.
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
Your SmartLead API key
Filter campaigns by specific client ID
Include campaign tags in the response
Response
Indicates if the request was successful
Array of campaign objects
Response Codes
Campaigns retrieved successfully
Invalid or missing API key
Server error occurred
Filtering Campaigns
You can filter campaigns by:- Client ID: Get campaigns for a specific client
- Status: Use the campaign status filter in your application logic after fetching
- Tags: Include tags to filter on your end
Pagination
Currently, this endpoint returns all campaigns. For large accounts with many campaigns, consider implementing pagination on your end or contact support for enterprise pagination options.Common Use Cases
Get Active Campaigns Only
Python
Get Campaigns by Client
Python
