Campaigns
Get all campaigns for organization
Returns all campaigns for the authenticated user organization, optionally filtered by status (importing, scheduled, sending, sent, failed, partial success, cancelled). A campaign with recipient rows takes stats from its counters (recipientCount, sentCount, failedCount), also while it sends, and lists its first 100 failures in failedDetails; failedCount has the full number. A campaign that ended before recipient rows existed keeps the numbers stored on it.
Authorization
bearerAuth AuthorizationBearer <token>
In: header
Query Parameters
status?string
Response Body
application/json
application/json
curl -X GET "https://example.com/api/campaigns"{ "success": true, "data": [ { "_id": "665f1a0c0e0a4b001a2c9f10", "name": "Q2 Lead Gen", "status": "scheduled", "scheduleDate": "2026-05-20T15:00:00.000Z" } ]}