Brevo on Railway
Store your Brevo API key as a Railway variable and call the Brevo API to send transactional emails such as order confirmations and password resets.

What teams build with Brevo on Railway
Account emails
Transactional emails are automated, non-promotional messages triggered by user actions such as account creation, order confirmations, and password resets. Verify your sender and authenticate your domain so the sender appears as verified, see senders and domains.
- A welcome email after signup, from your own domain.
- A password reset or magic link, sent within seconds.
- An invite email when a user adds a teammate.

Send from Railway with the Brevo API
Create your Brevo API key
In Brevo, open Settings > SMTP & API > API Keys & MCP and click Generate a new API key. Name it so you can recognize it: the key is displayed once. Verify your sender and authenticate your domain.
Railway service variables
Open your service's Variables tab, click New Variable and add BREVO_API_KEY. Variables are made available to the running deployment as environment variables. To reuse one across services, define a shared variable in Project Settings > Shared Variables.
Send and check the logs
Read the variable with your language's environment lookup, for example process.env.BREVO_API_KEY in Node, and POST to https://api.brevo.com/v3/smtp/email with the key in the api-key header. The response's messageId tracks the email in the transactional logs.



What you can do with Brevo on Railway
Send transactional email
Transactional emails are automated, non-promotional messages triggered by user actions such as account creation, order confirmations, and password resets. The Free plan includes 300 emails a day.
Manage contacts through the API
Brevo's API manages contacts, tracks custom events, and syncs eCommerce data.
Receive transactional events by webhook
When an event occurs, Brevo sends an HTTP POST request in real time to the notification URL you define. Transactional email events include sent, delivered, opened and clicked.
Beyond email
Brevo's API sends messages across email, SMS, and WhatsApp.



