Skip to main content
The REST API sends email with a single authenticated POST /emails request. You send JSON and get a message id back, from any language or straight from the command line.

Send a request

Authenticate with your API key as a Bearer token and post a JSON body:
A successful send returns the message id and its RFC Message-ID:
This is a server-to-server API: every request needs a non-browser User-Agent, and your key must stay server-side. See Authentication.

Learn more

Sending your first email

The full request shape, covering recipients, content, templates, attachments, custom headers, and errors.

API reference

Base URL, authentication, every field, error code, and rate limit.

Python SDK

Send the same request through a typed client.

Idempotency

Make sends safe to retry with an Idempotency-Key.