> ## 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.

# Sendblue Omni API

> Send and receive messages, place and receive calls, and manage US numbers over one JSON API.

The Omni API lives at `https://omni-api.sendblue.com`. Routes mount at the root of the host with no version prefix, and requests and responses use JSON with `snake_case` field names.

Check your credential with `GET /me`:

```bash theme={null}
curl https://omni-api.sendblue.com/me \
  -H "Authorization: Bearer $SENDBLUE_KEY_ID.$SENDBLUE_KEY_SECRET"
```

```json theme={null}
{
  "id": "ACxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx01",
  "name": "Acme Corp",
  "status": "active",
  "type": "root",
  "parent_id": null,
  "credential": {
    "type": "api_key",
    "id": "SKxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx01"
  },
  "permissions": ["me:read", "messages:read", "messages:send"],
  "capabilities": ["messages", "prices"],
  "created_at": "2026-11-23T18:04:05.123456Z"
}
```

`GET /me` returns the account the credential acts in, its `permissions`, and the resource groups it can use (`capabilities`).

## Start here

> [card] [Authentication](https://omni-docs.sendblue.com/authentication.md)
>
> Key pairs, existing Sendblue API keys, and scoped keys.

> [card] [Send an SMS](https://omni-docs.sendblue.com/quickstart/send-sms.md)
>
> Check a registered number, send a message, and track delivery.

> [card] [Receive an SMS](https://omni-docs.sendblue.com/quickstart/receive-sms.md)
>
> Receive signed `message.received` webhooks at your HTTPS URL.

> [card] [Place and receive a call](https://omni-docs.sendblue.com/quickstart/calls.md)
>
> Run outbound and inbound US calls with TwiML documents.

> [card] [Record a call](https://omni-docs.sendblue.com/quickstart/record-a-call.md)
>
> Record calls, list recordings, and download audio.

> [card] [Upload and send media](https://omni-docs.sendblue.com/quickstart/media.md)
>
> Upload a file and attach it to an MMS or iMessage.

> [card] [Warm handoff](https://omni-docs.sendblue.com/quickstart/warm-handoff.md)
>
> Hold a caller, introduce a second agent, and leave them connected.

> [card] [iMessage numbers](https://omni-docs.sendblue.com/quickstart/imessage-numbers.md)
>
> Request iMessage lines and follow fulfillment for your account.

## Conventions

| Convention | Rule |
| - | - |
| **Bodies** | JSON objects up to 64 KiB. An unknown or mistyped member, query parameter, or header is refused with `400 invalid_request`, and `error.details.field` names it. |
| **Time** | RFC 3339 in UTC, for example `2026-11-23T18:04:05.123456Z`. |
| **Money** | Integer micro-USD beside a currency: `{"amount_micro_usd": 7900, "currency": "USD"}`. A catalog price shown before charging also includes a decimal string in `amount`. |
| **Prices** | `GET /prices` lists your account's current rates for brands, campaigns, numbers, messages, outbound calls, and conference participants. A catalog product with no price for your account is absent and cannot be bought. Voice add-ons such as call recording and answering-machine detection are priced on your account separately and are not yet listed in `GET /prices`. |
| **IDs** | Opaque strings. Do not parse them. |
| **Phone numbers** | E.164. In a URL path, percent-encode the plus sign: `/numbers/%2B14155550100`. |
| **Request ID** | Every response includes a `Request-Id` header. Quote it when you ask Sendblue for help. |
| **Async operations** | Work that finishes later at the carrier returns an `operation_id`. Poll `GET /operations/{operation_id}` for `pending`, `succeeded`, or `failed`. |
| **Version header** | `Sendblue-Version: YYYY-MM-DD` is reserved. Valid dates are accepted and ignored today; any other format is refused. |

> [!NOTE]
>
> The JSON API documented here is the surface to build on. The same host also serves a frozen Twilio-compatible API under `/t` that keeps existing integrations working without new features. A message, number, call, or recording is the same resource on both with the same ID. The [warm handoff](https://omni-docs.sendblue.com/quickstart/warm-handoff.md) quickstart uses the conference routes under `/t` because this API has no native conference operation yet. Calls and messages are for US numbers.


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