# Integrated in a few minutes.

> Integrate the Sendtide email API: SDKs for Node.js, Python and PHP, packages for Laravel, Symfony, Django and Next.js, OpenAPI 3.1, webhooks, CLI and MCP.

URL: https://sendtide.ch/en-lt/developers/

Official SDKs for Node.js, Python and PHP, packages for Laravel, Symfony, Django and Next.js. Plus OpenAPI 3.1, signed webhooks, a CLI and an MCP server for AI assistants.
[Join the waitlist](https://sendtide.ch/en-lt/waitlist/)[Read the docs](https://sendtide.ch/en/docs/)

Quickstart
## First email in three lines.

Install the SDK, set the key as an environment variable, send. With the test key nothing goes out.
- Base URL https://api.sendtide.ch/v1
- Header Authorization: Bearer sk_…
- Rate limit 50 requests per second per key, 429 with Retry-After

Node.jsPythoncURL

```
import { Sendtide } from "sendtide"

const sendtide = new Sendtide(process.env.SENDTIDE_API_KEY)

await sendtide.emails.send({
  from: "Sendtide <hello@sendtide.ch>",
  to: ["anna@example.com"],
  template: "welcome",
  data: { name: "Anna" },
}, { idempotencyKey: "welcome-4821" })
```

```
from sendtide import Sendtide

sendtide = Sendtide(os.environ["SENDTIDE_API_KEY"])

sendtide.emails.send(
    from_="Sendtide <hello@sendtide.ch>",
    to=["anna@example.com"],
    template="welcome",
    data={"name": "Anna"},
    idempotency_key="welcome-4821",
)
```

```
curl https://api.sendtide.ch/v1/emails \
  -H "Authorization: Bearer sk_live_…" \
  -H "Idempotency-Key: welcome-4821" \
  -d '{
    "from": "hello@sendtide.ch",
    "to": ["anna@example.com"],
    "template": "welcome",
    "data": { "name": "Anna" }
  }'

# 202  {"id": "msg_8kq2m4bt", "status": "queued"}
```

SDKs
## For your stack.

Official SDKs for Node.js, Python and PHP, plus packages for Laravel, Symfony Mailer, Django and Next.js. For other languages there is SMTP, the REST API and the OpenAPI spec.

Node.js / TypeScript npm install sendtide
Python pip install sendtide
PHP composer require sendtide/sendtide-php
Laravel composer require sendtide/sendtide-laravel
Symfony composer require sendtide/mailer-bridge
Django pip install django-sendtide
Next.js npm install @sendtide/next
CLI sendtide login

OpenAPI
## One OpenAPI file for every tool.

OpenAPI 3.1 as JSON and YAML for code generators, Postman, Bruno and Insomnia. SDKs and docs come from the same file.
- https://api.sendtide.ch/v1/openapi.json
- Incompatible changes only with a new version and 12 months notice

Verify webhook

```
import { verifyWebhook } from "sendtide"

app.post("/webhooks/email", (req, res) => {
  const event = verifyWebhook(req.rawBody, req.headers["sendtide-signature"],
                              process.env.SENDTIDE_WEBHOOK_SECRET)
  if (event.type === "email.bounced") markInvalid(event.data.to)
  if (event.type === "email.received") addReply(event.data.original_email_id, event.data.stripped_text)
  res.sendStatus(200)
})
```

MCP
## Ask Claude or Cursor about your emails.

The MCP server gives AI assistants tools for search, delivery issues, statistics and template drafts. You sign in via OAuth 2.1 and pick the access when you approve. The assistant never gets more rights than your role. An API key works too.
- claude mcp add --transport http sendtide https://mcp.sendtide.ch/mcp
- Real sending off by default, templates only as drafts
- Docs for assistants at sendtide.ch/llms.txt

CLI

```
# Test webhooks locally
sendtide listen --forward-to http://localhost:3000/webhooks/email

# Follow logs live
sendtide logs --follow --query "status:bounced"

# Fire a signed event
sendtide trigger email.bounced

# Pull a template into your repo
sendtide templates pull welcome
```
## Save your spot.

Sendtide opens in waves. Sign up and you get access before the public launch. 3,000 emails a month are free. Until then, the docs show you what the integration looks like.
[View the docs](https://sendtide.ch/en/docs/)
