Skip to content
You're viewing documentation for v1.0.0. It may be out of date.Go to latest
Email SDK
Esc
↑↓navigate↵open⌘Jpreview
On this page

Brevo

Send through the Brevo transactional email API with full field support and metadata mapped to template params.

Capabilities

Repeated headers Idempotency Scheduling Personalized
No none Yes expanded

These values come from the adapter’s exported capabilities declaration. The field support matrix covers normalized message fields.

The Brevo adapter calls the Brevo transactional email API with plain fetch. It authenticates with Brevo’s api-key header (not a Bearer token), supports every common field, and maps metadata to Brevo’s params, the same values Brevo templates substitute.

Brevo logo
Brevo@opencoredev/email-sdk/brevo
Provider docs

Configure

Create an API key under SMTP & API in the Brevo dashboard and verify the sender or domain you use in from.

PropType
apiKeystring

Brevo API key, sent as the api-key request header.

Typestring
baseUrl?string

Override the API origin, e.g. for a proxy.

Typestring
Default"https://api.brevo.com"
fetch?typeof fetch

Custom fetch implementation for tests or special runtimes.

Typetypeof fetch

Send

Brevo maps cc, bcc, headers, attachments, tags (values only), and metadata (as params). replyTo accepts a single address; two or more throw an EmailValidationError before any request. sendAt maps to Brevo’s scheduledAt (ISO 8601), so scheduling happens on Brevo’s side. Brevo accepts at most 72 hours in the future.

The response id is Brevo’s messageId (falling back to the provider’s id field). Match it against events in Brevo’s logs and webhooks.

Verify from the CLI

Drop --dry-run for one real send to confirm the key, sender verification, and recipient policy end to end.

Last updated on