> ## Documentation Index
> Fetch the complete documentation index at: https://docs.nixflex.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Read SMS campaign delivery and controls

> Track SMS sent, delivered, failed and reply counts separately, cancel unsent work and reconcile uncertain sends without creating duplicate campaigns.

**FIXED · campaign** **MUST** Resume covers only unattempted work in the existing running launch, and neither resume nor reuse replays completed work.\
reuse\_campaign\_id replaces settings and recipients atomically only on an owned, never-launched voice draft or scheduled campaign. A launch claim prevents replacement. SMS creation always generates a fresh ID, even if the request forwards this field. Omit it for SMS.

**NOT OFFERED → do this instead · campaign** A launched or finished campaign cannot run again. For another run create a campaign with a fresh ID, selected recipients and reviewed settings. The dashboard’s Use again button follows the same rule for voice: it edits a campaign that never launched, otherwise it opens a new campaign filled with the original settings and recipients for review before launch. SMS campaigns have no Use again button.

**YOU CAN CHANGE · campaign** Use schedule\_type=schedule, scheduled\_date (YYYY-MM-DD), timezone, window\_days and optional paired window\_start\_minutes/window\_end\_minutes. UTC date checks, local windows and capacity apply.

**SCOPE · campaign** `DELETE /v1/calls/batch/{id}` deletes a voice campaign. Voice and SMS have separate cancel routes. Cancel stops future work. Running attempts may finish.

For one owned sender, send business\_number (encode + as %2B) on `GET /v1/campaigns` or `GET /v1/sms/campaigns`. Omit for account scope. Keep the same number and status through SMS cursors. Restart paging if either changes. Voice include\_totals=true covers returned campaigns only (default 50, max 200).

Pickup rate = answered attempts / all attempts, including failed starts. Answered means over five seconds with no detected voicemail. Sum counts before dividing. Zero attempts means no rate. SMS delivery rate = delivered / (delivered + failed).

[Read the compact AI rules](https://docs.nixflex.com/ai-rules.md#campaigns)

Track the existing SMS campaign’s delivery and reply evidence, then control only the work that remains eligible to send.

Track: **Saved campaign ID** · Delivery: **Separate evidence** · Controls: **Existing unsent work**

**The important part**

* Sent, delivered, failed and reply counts describe different outcomes.
* Cancel stops future dispatch and cannot recall a message already sent.
* Delete cancels waiting work and hangs up running calls; Cancel alone stops future dispatch.

[Business guide](https://docs.nixflex.com/guides/business/sms-campaigns.md) · [API reference](https://docs.nixflex.com/api-reference/introduction.md) · [Glossary](https://docs.nixflex.com/guides/glossary.md)

## Read the current campaign

Use [campaign detail](https://docs.nixflex.com/api-reference/sms/campaigns-get.md) with the saved ID. Preserve `sent_count`, `delivered_count`, `failed_count` and `reply_count` as distinct fields. Do not derive one by subtracting unrelated totals or treat message acceptance as delivery.

Replies can arrive after the original send. Campaign reply association depends on its configured window and context; actual auto-reply still depends on the number’s SMS settings. Inspect the related [inbox](https://docs.nixflex.com/guides/developer/agent-inbox.md) when your workflow needs the conversation.

## Resolve contact holds

Missing consent, contact hours, suppression and uncertain transport outcomes require different decisions. Record genuine consent using the documented consent action, honour recipient-local policy and keep unknown sends visible. A new campaign is not a way to reconcile the original send.

## Cancel, resume or edit

Use [cancel](https://docs.nixflex.com/api-reference/sms-campaigns/post-sms-campaigns-id-cancel.md) to stop future dispatch and [resume](https://docs.nixflex.com/api-reference/sms-campaigns/post-sms-campaigns-id-resume.md) only when the current state and contact checks allow it. Read back the campaign after a confirmed result. After a lost response, reconcile that same campaign before another write.

The [update route](https://docs.nixflex.com/api-reference/sms-campaigns/patch-sms-campaigns-id.md) permits only documented fields and states. It is not a way to alter an already accepted message at its destination.

## Keep deletion separate

Deleting a voice or SMS campaign cancels waiting work, hangs up its running calls, then removes the campaign and recipient list. Calls already made and texts already sent stay in history. Used charges stay in billing; there are no refunds. Owner and Admin can delete; Member cannot. Cancel alone stops future dispatch and lets active calls finish; Delete also requests their hang-up. Use [DELETE SMS campaign](https://docs.nixflex.com/api-reference/sms/campaigns-delete.md). If hang-up is not confirmed, HTTP 503 `hangup_pending` returns `error.details.deleted:false` and `error.details.retry_pending:true`. Deletion stays queued and continues automatically. Repeating the same DELETE for the same account and ID safely resumes it. A lost response or `deletion_unavailable` is not success: check the list, then repeat that same DELETE if needed. Missing and foreign IDs share HTTP 404. Bulk call deletion and account closure keep separate safety rules.

| Observation | What to show or do |
| - | - |
| Sent but delivery not confirmed | Retain the actual delivery state; do not mark it delivered. |
| Reply arrives later | Associate it using the current campaign and conversation rules. |
| Unknown send outcome | Reconcile the existing recipient; do not automatically resend. |
| Control response lost | Read the campaign before repeating the control. |
| Delete result unconfirmed | Show queued or unconfirmed, check the list, and resume with the same DELETE if needed. |

* [Prepare an SMS campaign](https://docs.nixflex.com/guides/developer/sms-campaigns/prepare-and-send.md)
* [Read the campaign response schema](https://docs.nixflex.com/api-reference/sms/campaigns-get.md)
* [Work with SMS conversations](https://docs.nixflex.com/guides/developer/agent-inbox.md)

## Related dashboard and AI tasks

* [Check SMS delivery and customer replies](https://docs.nixflex.com/guides/business/sms-campaigns/check-delivery.md)


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.