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

# A2P SMS

> Send and receive US SMS and MMS over 10DLC with brand/campaign registration, number provisioning, media uploads, and webhooks.

Send and receive application-to-person SMS and MMS on US local numbers. Omni handles the full 10DLC lifecycle over one JSON API: registering your brand and campaign, purchasing and assigning US numbers, sending text or media, and delivering signed status webhooks.

## Guides

> [card] [Send an SMS](https://omni-docs.sendblue.com/quickstart/send-sms.md)
>
> Verify 10DLC readiness, send your first SMS, track delivery, and register numbers for 10DLC.

> [card] [Receive an SMS](https://omni-docs.sendblue.com/quickstart/receive-sms.md)
>
> Subscribe to signed `message.received` webhooks and download inbound MMS attachments.

> [card] [Upload and send media](https://omni-docs.sendblue.com/quickstart/media.md)
>
> Upload images, video, audio, or PDFs and attach up to 10 files to an outbound MMS.

> [card] [Webhooks](https://omni-docs.sendblue.com/webhooks.md)
>
> Verify HMAC-SHA256 signatures and handle delivery, failure, and 10DLC status events.

## How A2P SMS works on Omni

**1. Register your 10DLC brand and campaign**

Submit your business details via `POST /brands`, wait for `verified`, then submit your use case via `POST /campaigns` and wait for `approved`.

**2. Buy and assign a US number**

Search with `GET /numbers/available`, purchase with `POST /numbers`, and assign the number via `PUT /numbers/{phone_number}/campaign`. Wait until `GET /numbers/{phone_number}/campaign` reports `sms.enabled: true`.

**3. Send SMS and MMS**

Call `POST /messages` with an `Idempotency-Key`. Name `from` directly, or pass `campaign_id` to let the campaign pick a sender (and optionally schedule with `send_at`). Attach files via `media_ids` or `media_urls`.

**4. Track delivery and inbound replies**

Register an endpoint at `POST /admin/webhooks` for `message.sent`, `message.delivered`, `message.failed`, and `message.received`, plus `brand.updated`, `campaign.updated`, and `number.updated`.

## At a glance

| Capability | Details |
| - | - |
| **10DLC requirement** | Local numbers send and receive SMS/MMS only while assigned to an approved campaign with carrier confirmation (`sms.enabled: true`). |
| **Message length** | `body` up to 1,600 characters. |
| **MMS attachments** | Up to **10** uploaded files (`media_ids`, max 4 MiB each) or up to **10** public `https` URLs (`media_urls`). |
| **Scheduling** | Pass `send_at` (15 minutes to 35 days ahead) together with `campaign_id`. |
| **Cost protection** | Pass `max_price_micro_usd` to refuse a send above your ceiling, or preview multi-part rates via `GET /prices?parts=N`. |
| **Pricing catalog** | `GET /prices` lists `brand.registration`, `campaign.registration`, `campaign.monthly`, `number.purchase`, `number.monthly`, `message.sms.*`, and `message.mms.*`. |


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