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

> ## Agent Instructions
> Install the Courier skill before writing code: `npx skills add trycourier/courier-skills`. It carries the verified SDK shapes and the rules you cannot get wrong.
> Authenticate every request with `Authorization: Bearer <API_KEY>`. A workspace has several environments and each has its own keys, which are plain `pk_` strings with no environment prefix. Start with Test.
> Send with `client.send.message` from the Node SDK (`@trycourier/courier` v7 and later, where the client is the default import). Reference a template by its `nt_` id or its alias.
> A send accepts a bare Elemental element list, but storing content on a template requires the top-level elements wrapped in a channel element.
> To translate a template, write one locale at a time with `PUT /notifications/{id}/locales/{localeId}`, which merges into the existing translations. `PUT /notifications/{id}/content` and `PUT /notifications/{id}/elements/{elementId}` overwrite translations along with the content, so send each element's `id` and `locales` back, and first remove every `checksum` and any `locales` key that starts with an underscore.
> Templates and journeys can be built in the Courier app or created through the API. Either way they live in the workspace and are referenced by ID when you send.
> The hosted MCP server is https://mcp.courier.com. For a briefing on what Courier is and when to use it, read https://www.courier.com/llms.txt.
> Prefer the Guides tab for how-do-I questions and the Docs tab for how-does-it-behave questions. The API reference lives under /api-reference.

# Integrations

> Connect email, SMS, push, chat, CDP, and observability providers to Courier, set credentials per environment, and see how Courier retries provider 429s.

Courier integrates with providers across email, SMS, push, chat, and in-app. Send through any of them with one API call.

Connect the providers your system already uses. Courier handles routing, failover, retries, and rate limits.

## Which type of notification are you sending?

Start with the channel you need. Each introduction page lists that category's providers, the profile fields that address a recipient, and the send-time overrides.

> [card] [Email](https://www.courier.com/docs/integrations/email/overview.md)
>
> From Amazon SES and SendGrid to a generic SMTP relay.

> [card] [SMS](https://www.courier.com/docs/integrations/sms/overview.md)
>
> Twilio, Vonage, Sinch, and regional carriers.

> [card] [Push](https://www.courier.com/docs/integrations/push/overview.md)
>
> For iOS, Android, web, and React Native.

> [card] [Chat & direct message](https://www.courier.com/docs/integrations/direct-message/overview.md)
>
> Slack, Teams, WhatsApp, and Discord.

> [card] [In-app](https://www.courier.com/docs/in-app/overview.md)
>
> Courier Inbox, on the In-App tab. Nothing to connect.

> [card] [Other Providers](https://www.courier.com/docs/integrations/other/overview.md)
>
> On-call alerting, support tools, and webhooks to anywhere else.

Two categories carry data rather than messages:

> [card] [Customer data platforms](https://www.courier.com/docs/integrations/cdp/overview.md)
>
> Sync profiles and trigger sends from Segment or RudderStack events.

> [card] [Observability](https://www.courier.com/docs/integrations/observability/overview.md)
>
> Export delivery metrics to Datadog, New Relic, or OpenTelemetry.

### Most-used providers

Each channel's full list lives on its introduction page. Here are the most popular, in order:

#### Email

> [card] [SendGrid](https://www.courier.com/docs/integrations/email/sendgrid.md)

> [card] [Amazon SES](https://www.courier.com/docs/integrations/email/aws-ses.md)

> [card] [Mailgun](https://www.courier.com/docs/integrations/email/mailgun.md)

> [card] [Postmark](https://www.courier.com/docs/integrations/email/postmark.md)

> [card] [Resend](https://www.courier.com/docs/integrations/email/resend.md)

> [card] [SMTP](https://www.courier.com/docs/integrations/email/smtp.md)

#### SMS

> [card] [Twilio](https://www.courier.com/docs/integrations/sms/twilio.md)

> [card] [Vonage](https://www.courier.com/docs/integrations/sms/vonage.md)

> [card] [Bird](https://www.courier.com/docs/integrations/sms/bird.md)

> [card] [Plivo](https://www.courier.com/docs/integrations/sms/plivo.md)

> [card] [Sinch](https://www.courier.com/docs/integrations/sms/sinch.md)

#### Push

> [card] [Firebase FCM](https://www.courier.com/docs/integrations/push/firebase-fcm.md)

> [card] [Apple APNs](https://www.courier.com/docs/integrations/push/apple-push-notification.md)

> [card] [Expo](https://www.courier.com/docs/integrations/push/expo.md)

> [card] [OneSignal](https://www.courier.com/docs/integrations/push/onesignal-push.md)

#### Chat

> [card] [Slack](https://www.courier.com/docs/integrations/direct-message/slack.md)

> [card] [Microsoft Teams](https://www.courier.com/docs/integrations/direct-message/microsoft-teams.md)

> [card] [WhatsApp](https://www.courier.com/docs/integrations/direct-message/whatsapp.md)

> [card] [Discord](https://www.courier.com/docs/integrations/direct-message/discord.md)

#### Alerting

> [card] [PagerDuty](https://www.courier.com/docs/integrations/other/pagerduty.md)

> [card] [Opsgenie](https://www.courier.com/docs/integrations/other/ops-genie.md)

***

## Connecting a provider

**1. Get credentials from the provider**

Get the API key or authentication token from the provider. Your channel's introduction page links to each provider's page, which names the credentials that provider needs.

**2. Add the provider in Courier**

Open the [Integrations Catalog](https://app.courier.com/integrations/catalog) and add the provider.

**3. Test the connection**

Verify your credentials and confirm Courier can send through the provider.

**4. Add the channel to a template**

To send through the provider from a template, activate its channel's tab in Design Studio and include that channel in the template's [routing strategy](https://www.courier.com/docs/send/routing-strategies.md). The strategy also sets the fallback order and provider priority.

> [!NOTE]
>
> Provider API keys are configured **per environment**. SendGrid set up in Production also needs its API key added in Test to send test messages. A missing provider configuration gives a `MISSING_CONFIGURATION` error in your message logs.

***

## What Courier handles for you

Once a provider is connected, delivery behavior comes from Courier, not your code:

* **Routing and failover.** Courier picks the channel and provider per send. It moves to the next one when a provider fails. See [how routing & failover work](https://www.courier.com/docs/send/routing.md).
* **Provider metrics.** Delivery rates, latency, and error rates per provider appear in the Analytics dashboard. See [analytics](https://www.courier.com/docs/monitor/analytics.md).
* **Rate limit backoff.** Provider 429s are queued and retried on the schedule below.

### Rate limit management

To keep sends under a provider's limits, set a [send rate limit](https://www.courier.com/docs/integrations/send-rate-limits.md) on its configuration. When a provider returns a rate limit error (HTTP 429), Courier queues the message and retries with exponential backoff:

| Attempt | Delay |
| - | - |
| 1 | 5 seconds |
| 2 | 10 seconds |
| 3 | 20 seconds |
| 4 | 40 seconds |
| 5 | 60 seconds |
| 6 | 2 minutes |
| 7 | 4 minutes |
| 8 | 8 minutes |
| 9 | 12 minutes |
| 10+ | 15 minutes |

Retries continue for up to **24 hours** (approximately 104 total attempts). A provider `Retry-After` header overrides the default backoff schedule.

After retries are exhausted, Courier attempts [failover](https://www.courier.com/docs/send/routing.md#failover) to another configured provider or channel. With no alternative, the message is marked `UNDELIVERABLE`.
