API Reference
List campaign batches
GET /campaigns/:id/batches — remaining recipients and the manual batches sent so far.
GET
/campaigns/:id/batchesShows the progress of a campaign sent in manual batches (recipient_limit on POST /campaigns/:id/send; see Managing campaigns). Needs an API key with read access. A sending-only key gets 401 restricted_api_key.
Request
curl -X GET 'https://www.senddart.com/api/campaigns/CAMPAIGN_ID/batches' \
-H 'Authorization: Bearer mb_xxxxxxxxx'Response
{
"remaining_count": 3200,
"current_batch_id": null,
"can_send": true,
"history_complete": true,
"in_progress": false,
"data": [
{
"id": "b1c2d3e4-f5a6-4b7c-8d9e-0f1a2b3c4d5e",
"requested_count": 5000,
"selected_count": 5000,
"created_at": "2026-11-20T09:00:00.000Z",
"attempted_count": 5000,
"sent_count": 4991,
"failed_count": 9
}
]
}remaining_count is the recipients not attempted yet. can_send is true when another batch can be sent: the campaign is a draft or sent, has no A/B test or recurrence, and its send history is complete (history_complete). in_progress is true while it is sending or scheduled. data lists up to 100 batches, newest first.