Get SMS campaign
SMS
Get SMS campaign
GET /v1/sms/campaigns/:id
GET
Get SMS campaign
Returns full campaign details including computed delivery counts and per-recipient status.
Request
Response
How counts are calculated
All counts are computed from per-recipient status — never from cached fields. Same logic in the dashboard and the API.| Count | Calculation |
|---|---|
delivered_count | Recipients with status delivered |
failed_count | Recipients with status failed, undelivered, or sent |
pending_count | Recipients with status pending or queued |
total_count | All recipients |
Twilio status
sent means the message was handed to the carrier but never confirmed reaching the handset. Nixflex treats sent as a soft failure.Per-recipient status values
| Status | Meaning |
|---|---|
pending | Just queued by Nixflex |
queued | Sent to Twilio API |
sent | Twilio handed to carrier (no delivery confirmation) — counted as failed |
delivered | Carrier confirmed delivery to handset |
undelivered | Carrier rejected — counted as failed |
failed | Twilio itself failed — counted as failed |
Errors
| Code | Cause |
|---|---|
campaign_not_found | ID does not exist or is not yours |