ECSEND API v1 Documentation

Campaigns

Use /campaigns to list campaigns and launch new bulk sends.

GET /campaigns

Returns campaigns including status, senderId, recipientCount, and createdAt.

POST /campaigns

Send name, text, and senderId. Recipients can come from recipients, rawReceivers, or contactBookName.

json

{
  "name": "Summer Promo",
  "text": "Get 20% off this summer!",
  "senderId": "ECSEND",
  "recipients": ["+25884000001", "+25884000002"]
}
201 Created

json

{
  "success": true,
  "campaignId": "clx456def",
  "status": "COMPLETED",
  "recipientCount": 100
}

Also review 402 (insufficient balance) and 404 (book not found) in /api/docs.

1