API Reference

Campaign statistics

GET /campaigns/:id/stats — delivery and engagement numbers, top links and send progress for one campaign.

GET/campaigns/:id/stats

The same statistics as GET /campaigns/:id, plus the most-clicked links and the send progress. Light enough to poll while a campaign sends. 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/stats' \
  -H 'Authorization: Bearer mb_xxxxxxxxx'
Response
{
  "object": "campaign_stats",
  "campaign_id": "8f5c2a1e-7b3d-4f9a-9c12-2e6d4a7b8c90",
  "accepted": 1240, "in_flight": 0, "failed": 0,
  "total": 1240, "delivered": 1216, "opened": 498, "clicked": 96,
  "replied": 12, "bounced": 18, "complained": 1,
  "rates": { "delivery": 98.1, "open": 41, "click": 7.9, "reply": 1, "bounce": 1.5, "complaint": 0.1 },
  "links": [{ "url": "https://yourdomain.com/launch", "clicks": 71 }],
  "progress": { "remaining": 0, "next_run_at": null, "wait_reason": null },
  "in_progress": false,
  "sent_at": "2026-06-23T10:20:00.000Z",
  "analytics_available": true
}
Fields beyond the statistics
linksobject[]optional

Up to 50 links with the most clicks: { url, clicks }.

progressobjectoptional

remaining recipients, next_run_at (the next scheduled send step, or null) and wait_reason (why it is waiting, or the failure reason, or null).

in_progressbooleanoptional

true while the campaign is queued, sending or scheduled.

sent_atstring | nulloptional

When the send began.

analytics_availablebooleanoptional

false on the free marketing plan: opened, clicked, replied and their rates are null, links is empty, and a limit object says which plan adds campaign analytics (see Plan limit errors). The delivery numbers and progress are always there.