curl https://zeplo.ai/api/campaigns/1 \
-H "Cookie: connect.sid=s%3A7HImZ-T2BxWSbUsf9dtWdOlBW4rVuORO.5J0Do0NyvBu%2BkTvu1aHvtNs00BKhkpUKTwiokLS0cpw"
{
"success": true,
"data": {
"id": 1,
"name": "New Year Promo",
"status": "completed",
"type": "template",
"channelId": "647015955153740",
"templateName": "new_year_promo",
"languageCode": "en",
"templateComponents": [],
"totalRecipients": 500,
"sentCount": 480,
"deliveredCount": 470,
"readCount": 320,
"repliedCount": 45,
"failedCount": 20,
"scheduledAt": "2026-01-01T09:00:00Z",
"startedAt": "2026-01-01T09:00:00Z",
"completedAt": "2026-01-01T09:15:00Z",
"createdAt": "2025-12-28T10:00:00Z",
"updatedAt": "2026-01-01T09:15:00Z"
}
}
Campaigns
GET Get Campaign
Retrieve a single campaign by ID.
GET
/
api
/
campaigns
/
:id
curl https://zeplo.ai/api/campaigns/1 \
-H "Cookie: connect.sid=s%3A7HImZ-T2BxWSbUsf9dtWdOlBW4rVuORO.5J0Do0NyvBu%2BkTvu1aHvtNs00BKhkpUKTwiokLS0cpw"
{
"success": true,
"data": {
"id": 1,
"name": "New Year Promo",
"status": "completed",
"type": "template",
"channelId": "647015955153740",
"templateName": "new_year_promo",
"languageCode": "en",
"templateComponents": [],
"totalRecipients": 500,
"sentCount": 480,
"deliveredCount": 470,
"readCount": 320,
"repliedCount": 45,
"failedCount": 20,
"scheduledAt": "2026-01-01T09:00:00Z",
"startedAt": "2026-01-01T09:00:00Z",
"completedAt": "2026-01-01T09:15:00Z",
"createdAt": "2025-12-28T10:00:00Z",
"updatedAt": "2026-01-01T09:15:00Z"
}
}
Get campaign
GET /api/campaigns/:id
Retrieve details of a specific campaign including delivery statistics.
Headers
string
required
Session cookie (login via POST /api/auth/login)
Path parameters
integer
required
Campaign ID.
curl https://zeplo.ai/api/campaigns/1 \
-H "Cookie: connect.sid=s%3A7HImZ-T2BxWSbUsf9dtWdOlBW4rVuORO.5J0Do0NyvBu%2BkTvu1aHvtNs00BKhkpUKTwiokLS0cpw"
{
"success": true,
"data": {
"id": 1,
"name": "New Year Promo",
"status": "completed",
"type": "template",
"channelId": "647015955153740",
"templateName": "new_year_promo",
"languageCode": "en",
"templateComponents": [],
"totalRecipients": 500,
"sentCount": 480,
"deliveredCount": 470,
"readCount": 320,
"repliedCount": 45,
"failedCount": 20,
"scheduledAt": "2026-01-01T09:00:00Z",
"startedAt": "2026-01-01T09:00:00Z",
"completedAt": "2026-01-01T09:15:00Z",
"createdAt": "2025-12-28T10:00:00Z",
"updatedAt": "2026-01-01T09:15:00Z"
}
}
Campaign statuses
| Status | Description |
|---|---|
draft | Campaign is being configured |
scheduled | Campaign scheduled for future delivery |
running | Campaign is currently sending |
completed | Campaign finished sending |
failed | Campaign encountered errors |
paused | Campaign temporarily paused |
