# Customer.io Integration for Email Validation

URL: https://email-validation.org/integrations/customerio/
Updated: 2026-11-29

> Documentation index: https://email-validation.org/llms.txt

A sync script you run on your own computer checks the people of a Customer.io segment as one bulk list and writes each person’s result into four attributes. A data-driven segment on ev\_action leaves out the addresses you should not mail.

[Read the full setup guide](https://email-validation.org/docs/guides/customerio/) [Get an API key](https://email-validation.org/signin/)

- Status: Setup guide
- A script you download

**customerio.mjs** Node 22.18 or later

Terminal

```bash
export EV_API_KEY=…  CUSTOMERIO_API_KEY=…
node customerio.mjs --segments
node customerio.mjs --segment <id> --dry-run
node customerio.mjs --segment <id>
```

## 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 run campaigns and broadcasts from Customer.io and want the people whose address will bounce, or should not be mailed at all, marked so a segment can leave them out.
- **You need**: Node 22.18 or later, an [API key](https://email-validation.org/app/api-keys/) of ours with Bulk lists (off by default), and a Customer.io private key (`sk_us_` or `sk_eu_`) from Account Settings → API Credentials.
- **Costs**: 1 credit = 1 validated address, as with any API request. Free: unknown results, API errors, malformed addresses, test addresses on sandbox.email-validation.org and, in a bulk list, repeats of an address (charged once).
- **Full guide**: [Read the full setup guide](https://email-validation.org/docs/guides/customerio/)

## Typical uses.

- **Leave out the addresses to remove**: Each person gets ev\_status, ev\_reason, ev\_action and ev\_checked\_at. A data-driven segment “ev\_action is equal to remove” holds everyone you should not mail.
- **Trust ev\_action**: Spam traps and complainers are valid with the action remove, so filter on ev\_action, not ev\_status.
- **Check new people daily**: Customer.io’s reporting webhooks send no event when a person is added, so run the sync on a schedule: each run checks only people without a result.

## Set it up. 3 steps.

The short version of the [full setup guide](https://email-validation.org/docs/guides/customerio/), which stays the reference when a step does not match what you see.

1. **Download and unzip**: It is not on a marketplace: download email-validation-customerio.zip from the guide. It holds customerio.mjs and the licence.
2. **Pick a segment**: `node customerio.mjs --segments` shows each segment’s id, kind and size. To clean everyone, make a data-driven segment such as “Email exists”.
3. **Dry run, then run**: `node customerio.mjs --segment <id> --dry-run` counts what it would check and spends nothing. Run it again without `--dry-run`: it does not ask before it spends.

## Good to know.

- It sends only its four attributes, to the people it read from the segment, naming each by Customer.io’s own id: it never unsubscribes, suppresses or deletes anyone.
- A new attribute value can move people between data-driven segments and start a campaign triggered by one: look at your triggers before the first run.
- Run the same command again after any stop and it 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.
- `--region eu` checks and keeps the list in the EU, with the same key; an `sk_eu_` key uses Customer.io’s EU hosts by itself.

## Related

- [The full Customer.io setup guide](https://email-validation.org/docs/guides/customerio/)
- [The four attributes it writes](https://email-validation.org/docs/guides/customerio/#fields)
- [Segments, not lists](https://email-validation.org/docs/guides/customerio/#segments)
- [What each status means](https://email-validation.org/docs/statuses/)
- [Cleaning the email addresses in Customer.io](https://email-validation.org/guides/clean-email-list-customerio/)
- [Drip integration](https://email-validation.org/integrations/drip/)
- [GetResponse integration](https://email-validation.org/integrations/getresponse/)
- [Kit integration](https://email-validation.org/integrations/kit/)
- [Klaviyo integration](https://email-validation.org/integrations/klaviyo/)
- [All integrations](https://email-validation.org/integrations/)
