Skip to content

Campaigns API ​

Create, manage, and analyze campaigns.

Endpoints ​

List Campaigns ​

http
GET /api/v1/campaigns
ParameterTypeDescription
typestringBROADCAST, DRIP, TRIGGERED
statusstringDRAFT, SCHEDULED, SENDING, SENT, FAILED
channelstringemail, sms, whatsapp
pagenumberPage number
limitnumberPer page

Create Campaign ​

http
POST /api/v1/campaigns
json
{
  "name": "Welcome Campaign",
  "type": "BROADCAST",
  "channel": "email",
  "subject": "Welcome to our service!",
  "htmlContent": "<h1>Welcome!</h1><p>Thank you for joining.</p>",
  "broadcastListId": "list-uuid",
  "scheduledAt": "2026-03-01T10:00:00Z"
}

Send Campaign ​

http
POST /api/v1/campaigns/:id/send

Campaign Statistics ​

http
GET /api/v1/campaigns/:id/stats

Response:

json
{
  "sent": 1500,
  "delivered": 1487,
  "opened": 623,
  "clicked": 198,
  "bounced": 13,
  "deliveryRate": 99.13,
  "openRate": 41.89,
  "clickRate": 31.78
}

DOLU.ai - AI-Powered CRM Platform