Email platforms

Brevo integration

Save each Brevo contact’s validation result in four contact attributes, so one segment on EV_ACTION leaves out every address you should not mail. Clean a list from your dashboard, run a sync script on your own computer, or deploy a relay that checks each contact as it joins a list.

Read the full setup guideGet an API key

  • Setup guide
  • Dashboard, sync script and relay

brevo.mjsNode 22.18 or later

Terminal
export EV_API_KEY=…  BREVO_API_KEY=…
node brevo.mjs --list <list id> --dry-run   # counts what it would check
node brevo.mjs --list <list id>             # checks and writes the attributes

At a glance.

Status
Setup guide. Not listed on a marketplace yet: you set it up yourself in a few steps, below and in the full guide.
For
Teams who send campaigns and automations from Brevo and want the contacts that will bounce, or should not be mailed at all, marked so a segment can leave them out.
You need
A Brevo API key (Full, or Restricted with Contacts: All and Account: Read) and an API key of ours. The dashboard needs nothing else; the sync script needs Node 22.18 or later and our key’s Bulk lists permission (off by default), the relay a Cloudflare account of yours.
Costs
1 credit = 1 validated address, as with any API request. Free: unknown results, API errors, malformed addresses and test addresses on sandbox.email-validation.org.
Full guide
Read the full setup guide

Typical uses.

  • Leave out the addresses to remove

    Each contact gets EV_STATUS, EV_REASON, EV_ACTION and EV_CHECKED_AT. Spam traps and complainers are valid with the action remove, so a segment on EV_ACTION is equal to remove holds everyone not to mail.

  • Clean a list from your dashboard

    Connect your Brevo key once, pick a list and choose Clean. You see the most it can cost before it starts.

  • Check new contacts

    The relay receives Brevo’s webhook for a contact added to a list and writes the result within seconds. The sync script checks only contacts without a result, so it can also run daily.

Set it up. 4 steps.

The short version of the full setup guide, which stays the reference when a step does not match what you see.

Read the full setup guide

  1. Create a Brevo API key

    In Brevo, open Settings, SMTP & API, API Keys & MCP and generate a key with Contacts: All and Account: Read. Brevo shows it once.

  2. Try it free

    Make a test list with one contact, no_mailbox@sandbox.email-validation.org, and clean it: the contact gets EV_STATUS invalid and EV_ACTION remove, at no cost. Then delete the test contact.

  3. Clean your list

    In your dashboard, open Integrations, find Brevo and choose Clean, or download email-validation-brevo.zip from the guide and run brevo.mjs with --dry-run first: it does not ask before it spends.

  4. Add the relay

    Deploy relay.mjs to your Cloudflare account, then add a Brevo webhook for a contact added to a list, with the relay’s secret in its address.

Good to know.

  • Only the four attributes change: no contact is created, blocklisted, unsubscribed or deleted. With --suppress the script also takes the contacts to remove off the list you named; they stay in your account.

  • Run the same command again after any stop and the script resumes the same bulk list without paying twice (within the 30 days a list is kept). It prints ids and counts, never an address or a key.

  • If Brevo blocks unknown IP addresses for your API keys (Settings, Security, Authorized IPs), the dashboard and the relay are refused: they have no fixed address. Brevo can turn this on by itself after 30 days.

  • --region eu checks and keeps the list in the EU, with the same key.

Connect Brevo
in a few minutes.

Test it on our sandbox addresses for free, then on your own contacts.

Create your accountRead the full setup guide

Updated · Maintained by: Email Validation LLC