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

# API overview

> Base URL, credential check, conventions, and how the JSON API relates to /t.

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={"system"}
curl https://omni-api.sendblue.com/me \
  -H "Authorization: Bearer $SENDBLUE_KEY_ID.$SENDBLUE_KEY_SECRET"
```

```json theme={"system"}
{
  "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`).

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

## Core guides

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

> [card] [Webhooks](https://omni-docs.sendblue.com/webhooks.md)
>
> Signed JSON events, retry schedule, delivery log, and replay.

> [card] [Idempotency](https://omni-docs.sendblue.com/idempotency.md)
>
> Repeat writes safely with `Idempotency-Key`.

> [card] [Errors & Pagination](https://omni-docs.sendblue.com/errors.md)
>
> Consistent JSON error codes and cursor-based list paging.

> [!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.