curl https://api.sendpilot.ai/v1/campaigns \ -H "X-API-Key: YOUR_API_KEY"
{ "data": [ { "id": "clxxx123456", "name": "Q1 Tech Founders Outreach", "status": "STARTED", "totalLeads": 150, "createdAt": "2024-02-20T10:00:00.000Z", "updatedAt": "2024-02-24T15:30:00.000Z" }, { "id": "clxxx789012", "name": "SaaS Decision Makers", "status": "PAUSED", "totalLeads": 75, "createdAt": "2024-02-18T09:00:00.000Z", "updatedAt": "2024-02-23T12:00:00.000Z" } ], "meta": { "total": 2, "page": 1, "limit": 20, "totalPages": 1 } }
Retrieve all campaigns in your workspace
started
paused
draft
finished
Show Campaign Object
STARTED
PAUSED
DRAFT
FINISHED
Show Meta Object
API key for authentication
Filter by campaign status
active
all
Page number
x >= 1
Items per page
1 <= x <= 100
List of campaigns
Show child attributes