# Managed SMS

Managed SMS routes messages through carrier connections Bonga operates. You buy capacity from the workspace wallet; Bonga handles routing, retries and receipts.

## Sender IDs

A sender ID is the name or number recipients see. Rules vary by country:

- Some countries accept alphanumeric IDs with no registration.
- Some require a business registration, documents and approval.
- Some only allow a short code or a local long number.

Request and track a sender in **Dashboard → Sender IDs**. Registration orders have states such as draft, submitted, approved and rejected, with the reason attached. A rejected order can be edited and resubmitted.

## Pricing and quotes

Pricing is per destination country, telco and sender. `POST /api/v1/sms/quote` returns the unit price and total before sending. The wallet must cover the quoted amount; a shortfall returns `402`.

## Sending

`POST /api/v1/sms/send` accepts:

```json
{
  "phoneNumber": "+254712345678",
  "message": "Your order is ready.",
  "senderID": "BONGA",
  "allowDefaultSenderFallback": false
}
```

Bulk sending accepts a recipient list and splits work into a batch. Each recipient gets a row with its own status.

## Delivery reports

A batch exposes its progress and per-recipient rows. A message moves through states such as queued, submitted, delivered, failed and expired. Provider callbacks are verified and recorded once. Use the batch report for campaign-level views and the message report for one recipient.

## Billing

- The wallet is charged per accepted unit.
- A definite failure is refunded according to the route's settlement rules.
- An ambiguous provider outcome is never refunded automatically; it is reconciled first.
- Cancelling an undispatched scheduled message does not refund the daily API quota.

## Routing and retries

Bonga picks a route by country, telco, sender and cost. A retry is only attempted when the provider outcome is known to be unsent. Ambiguous submissions are surfaced as `submission_unknown` and reconciled rather than sent twice.

## Limits

- Registration and sender rules are country-specific.
- Some destinations are blocked by law or carrier policy.
- Throughput depends on the route and sender; large campaigns spread over time.
- Marketing requires consent and opt-out handling.

## Next

- [SMS](/docs/sms)
- [Managed SMS API guide](/guides/managed-sms-api)
- [Messaging API v2](/docs/messaging-api-v2)
