> For the complete documentation index, see [llms.txt](https://docs.codemash.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.codemash.io/cloud/sms/campaigns/details.md).

# Campaign details

**Where:** SMS → Campaigns → campaign · `/projects/<project>/sms/campaigns/<id>/view`

The **SMS Campaign** view shows one campaign end to end — when it was sent, to whom, through which provider, and how each batch and message did.

{% hint style="info" %}
Screenshot TODO — capture comes from testing-plan area **14-sms**.
{% endhint %}

## What you can do here

**General Information** — the campaign id (`cmp_…`, copyable) with a status badge, **Initiated** time plus the delivery plan (*Deliver Instantly* or the scheduled time), **Status**, a link to the **Template** used, and the **Deliver strategy** (the audience). If the campaign failed, a red **Campaign Failed** alert lists every error with its code.

**SMS Provider** — the integration that sent the campaign, with a **See integration details** link.

**Statistics** — four tiles: **Batches**, **Sent SMS**, **Failed**, and **Success rate** (%).

**Batches** — the campaign's batches, each row showing the recipient count, the batch id (e.g. `cmpb_4olwlX3NxQyesGIya90zuo`), the last status time, and a status coin. Filter by **Batch ID** or **Phone number**. Open a batch to list its messages — recipient phone numbers, notification id, and per-message status; batch-level failures appear in a **Batch has errors** alert. Open a message to reach the [message log](/cloud/sms/campaigns/log.md).

While a campaign is still in flight (Scheduled, Registered, Started, or Processing), a red **Stop campaign** button is shown. Stopping lets batches that are already sending finish, but no new recipients are messaged — it cannot be undone.

## Use it from code

[Get SMS campaign](/sdks-and-cli/notifications/sms/get-sms-campaign.md).

## API reference

Endpoints: [Get campaign](/api-reference/notifications/sms/get-sms-campaign.md), [Get statistics](/api-reference/notifications/sms/get-sms-campaign-statistics.md), [Get batches](/api-reference/notifications/sms/get-sms-campaign-batches.md), [Stop campaign](/api-reference/notifications/sms/stop-sms-campaign.md).
