---
title: "Introduction"
description: "Orientation for the Bird API reference: how it is organized, the conventions every endpoint follows, and where to start."
canonical: "https://bird.com/docs/api"
---

# Introduction

The Bird API is a unified REST API for everything the platform does. This reference documents every public endpoint, generated from the same OpenAPI specification that drives the official SDKs, so the request and response shapes here are exactly what the wire carries.

The reference sidebar groups the most-used resources by product: **Email**, **SMS**, **WhatsApp**, **Apple Messages**, **Voice**, **eSIM**, **Realtime**, **Verify**, **Preferences**, **Numbers**, **Lookup**, **Workspace**, and the developer tools (**Webhooks** and **Documentation**, the docs search API). Sending domains, inbound email, and contacts and audiences have reference pages without a sidebar entry. Start from [Create a sending domain](/docs/api/reference/create-domain), [Create an inbound address](/docs/api/reference/create-inbound-address), [Create a contact](/docs/api/reference/create-contact), and [Create an audience](/docs/api/reference/create-audience), or from their guides: [Sending domains](/docs/guides/email/sending-domains), [Receiving email](/docs/guides/email/receiving-email), [Contacts](/docs/guides/email/contacts), and [Audiences](/docs/guides/email/audiences). The **Voice** section includes calls, leg logs, trunks, numbers, caller IDs, destinations, and SIP session credentials. Voice statistics remain available through the dashboard and CLI. Workspace settings, API keys, and dedicated IPs are managed in the dashboard, CLI, and MCP server rather than the public API.

Resource pages are deep-linked from the [guides](/docs/guides): when a guide mentions an endpoint, the link lands on its reference entry here.

## For coding agents

Point an agent at these machine-readable sources:

- [OpenAPI specification](/openapi.json): every public endpoint, schema, and error code, also served as [YAML](/openapi.yaml). The SDKs are generated from the same file.
- [API index](/api/llms.txt): the API guides, every operation reference, and the public errors, grouped by product and linked to their Markdown pages.
- [Docs index](/docs/llms.txt): every published English docs page, grouped by section and product.
- [Site index](/llms.txt): products, quickstarts, and agent tooling across bird.com.
- [MCP server](/docs/ai/mcp-server): hosted tools at `mcp.bird.com` that act on your workspace after a browser sign-in.
- [Bird CLI](/docs/cli): the API from a terminal. [CLI for agents](/docs/ai/cli-for-agents) covers its JSON output and exit codes.
- [Self-serve signup](/docs/ai/self-serve-signup): create an account, organization, workspace, and credential with the CLI or curl, with no browser.
- [Authentication & API keys](/docs/guides/authentication): key scopes, and creating a key in the dashboard or with `bird api-keys create`.
- [Coming from MessageBird](/docs/knowledge-base/account/coming-from-messagebird) and [Migrate SMS from Bird Connectivity Platform](/docs/guides/sms/migrate/connectivity-platform): for code written against the MessageBird API at `rest.messagebird.com`, which has its own accounts and access keys.
- Markdown pages: append `.md` to any docs URL, as in `https://bird.com/docs/api.md`, or send `Accept: text/markdown`.

## Product map

Each table lists the calls an integration makes, in order, with a link to each call's reference page and to the product's guides.

### Email

| Step    | Call                                                                                                                                                                                                                                                             |
| ------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| Set up  | [`POST /v1/email/domains`](/docs/api/reference/create-domain), then [`POST /v1/email/domains/{domain_id}/verify`](/docs/api/reference/verify-domain) after you publish the domain's DNS records. A test send from Bird's shared onboarding domain needs neither. |
| Send    | [`POST /v1/email/messages`](/docs/api/reference/create-email-message)                                                                                                                                                                                            |
| Outcome | [`GET /v1/email/messages/{message_id}`](/docs/api/reference/get-email-message), or the [email events](/docs/guides/email/events) sent to your webhook endpoint                                                                                                   |
| Guide   | [Email overview](/docs/guides/email/overview) and [Send your first email](/docs/get-started/send-your-first-email)                                                                                                                                               |

### SMS

| Step    | Call                                                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| ------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| Set up  | Enable the destination country under [**SMS** > **Destinations**](https://bird.com/dashboard/w/sms/destinations), with `bird sms destinations update` in the CLI, or with the `sms_destinations_update` MCP tool. Destination enablement is not in the public API; sender IDs and registrations are managed through [`POST /v1/sms/senders`](/docs/api/reference/create-workspace-sms-sender) and the [sender registration API](/docs/guides/sms/sender-registration-api). |
| Send    | [`POST /v1/sms/messages`](/docs/api/reference/create-sms-message). A built-in template selects its own sender. Free-form text needs a [sender](/docs/guides/sms/senders) your workspace can use.                                                                                                                                                                                                                                                                           |
| Outcome | [`GET /v1/sms/messages/{message_id}`](/docs/api/reference/get-sms-message), or the `sms.*` [SMS events](/docs/guides/sms/events) sent to your webhook endpoint                                                                                                                                                                                                                                                                                                             |
| Guide   | [SMS overview](/docs/guides/sms/overview) and [Send your first SMS](/docs/get-started/send-your-first-sms)                                                                                                                                                                                                                                                                                                                                                                 |

### Verify

| Step    | Call                                                                                                                                                                                                                                                                 |
| ------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| Set up  | None. Bird's shared [senders](/docs/guides/verify/senders) deliver the code without sender registration.                                                                                                                                                             |
| Send    | [`POST /v1/verify/verifications`](/docs/api/reference/create-verification)                                                                                                                                                                                           |
| Outcome | [`POST /v1/verify/verifications/check`](/docs/api/reference/create-verification-check) checks the code the user enters. [`POST /v1/verify/verifications/next-channel`](/docs/api/reference/create-verification-next-channel) sends a fresh code on the next channel. |
| Guide   | [Verify overview](/docs/guides/verify/overview) and [Verify your first customer](/docs/get-started/verify-your-first-customer)                                                                                                                                       |

### Other products

| Product        | Guide                                                             | First call                                                                                          |
| -------------- | ----------------------------------------------------------------- | --------------------------------------------------------------------------------------------------- |
| WhatsApp       | [WhatsApp overview](/docs/guides/whatsapp/overview)               | [`POST /v1/whatsapp/messages`](/docs/api/reference/create-whatsapp-message)                         |
| Apple Messages | [Apple Messages for Business guides](/docs/guides/apple-messages) | [`POST /v1/amb/messages`](/docs/api/reference/create-amb-message)                                   |
| Voice          | [Voice overview](/docs/guides/voice/overview)                     | [`POST /v1/voice/calls`](/docs/api/reference/create-voice-call)                                     |
| eSIM           | [eSIM connectivity guide](/docs/guides/esim/overview)             | [`POST /v1/esim/orders`](/docs/api/reference/create-esim-order)                                     |
| Realtime       | [Realtime overview](/docs/guides/realtime/overview)               | [`POST /v1/realtime/apps/{realtime_app_id}/events`](/docs/api/reference/publish-realtime-app-event) |
| Numbers        | [Numbers overview](/docs/guides/numbers/overview)                 | [`GET /v1/numbers/available`](/docs/api/reference/list-available-numbers)                           |
| Lookup         | [Lookup overview](/docs/guides/lookup/overview)                   | [`POST /v1/lookup/phone-number`](/docs/api/reference/create-phone-number-lookup)                    |
| Webhooks       | [Webhooks & events](/docs/guides/webhooks)                        | [`POST /v1/webhooks`](/docs/api/reference/create-webhook)                                           |

## Conventions

Every endpoint follows the same conventions. They are stated once here rather than repeated on each page.

- **Base path**: all endpoints live under `/v1` on a regional host such as `https://us1.platform.bird.com`. See [Base URLs and regions](/docs/api/regions).
- **Authentication**: requests carry an API key as a bearer token: `Authorization: Bearer bk_us1_...`. See [Authentication](/docs/api/authentication).
- **JSON, snake_case**: request and response bodies are JSON with `snake_case` field names (`created_at`, `workspace_id`), and requests must set `Content-Type: application/json`.
- **Timestamps**: all timestamps are RFC 3339 strings in UTC, in fields suffixed `_at` (`created_at`, `delivered_at`). Resource timestamps like `created_at` are server-assigned and read-only. A few request fields, such as `scheduled_at`, are timestamps you supply.
- **Typed resource IDs**: every ID carries a type prefix: `em_` for email messages, `dom_` for sending domains, `whk_` for webhook endpoints, `sup_` for suppressions, and so on. The prefix makes an ID self-describing in logs and prevents passing one resource's ID where another's is expected.
- **Partial updates use PATCH**: a `PATCH` request changes only the fields you include, and leaves omitted fields untouched. A few subresources that you address by name in the URL are written with `PUT`, which replaces that subresource in full.
- **Query parameters are strict**: a request carrying a query parameter the endpoint does not document is rejected with `422` (`E01029`) rather than ignored. Check spelling against the endpoint's parameter list.
- **Errors**: every error response carries the same envelope, with a `type` for coarse branching, a stable `code`, a human-readable `message`, and the `request_id` to quote when contacting support. See [Error responses](/docs/api/errors).
- **Pagination**: list endpoints use cursor-based pagination with a shared parameter set. See [Pagination](/docs/api/pagination).
- **Idempotency**: mutating endpoints accept an `Idempotency-Key` header so retries are safe. See [Idempotency-Key header](/docs/api/idempotency).
- **Deprecations**: a renamed field keeps working under its old name, and a response says so with a `Deprecation` header. See [Deprecations](/docs/api/deprecations).

## Recommended clients

You can call the API with any HTTP client, but the official clients handle authentication, region selection, retries, and pagination for you:

- The official SDKs for [TypeScript](/docs/sdks/typescript), [Python](/docs/sdks/python), [Go](/docs/sdks/go), and [PHP](/docs/sdks/php): typed methods over the curated public surface
- The [Bird CLI](/docs/cli): the API from your terminal, also suited to scripts and agents

## Run it in Postman

The whole API is also a Postman collection, converted from this same specification, with an example request and response on every endpoint. Import the environment for your region, set `apiKey` to a workspace API key, and send any request.

<RunInPostman />

You can also download the [collection](https://bird.com/postman/bird-api.postman_collection.json) and an environment for [us1](https://bird.com/postman/bird-api-us1.postman_environment.json) or [eu1](https://bird.com/postman/bird-api-eu1.postman_environment.json) directly.

## Related

- [Authentication](/docs/api/authentication): how requests authenticate at the wire level
- [Base URLs and regions](/docs/api/regions): regional hosts and the region model
- [Pagination](/docs/api/pagination): cursors, page sizes, and sorting
- [Idempotency-Key header](/docs/api/idempotency): safe retries for mutating requests
- [Error responses](/docs/api/errors): the error envelope and the full error catalog
- [Deprecations](/docs/api/deprecations): what a superseded field name still does, and how to migrate off one

## Related resources

- [Should I use a Bird SDK or call the API directly?](/explained/platform/should-i-use-an-sdk-or-call-the-api-directly) (answer)
- [Build your first integration](/learn/paths/integration) (course)

[Get an implementation brief](/learn/workspace?topic=api-basics)
