# Smartlead Integration for Email Validation

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

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

A script you run on your own computer checks the leads of a Smartlead campaign as one bulk list and writes each lead’s status into three custom fields, so you know which leads to leave out before the campaign sends. It shows the most it will cost and asks before it spends anything.

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

- Status: Setup guide
- One file you download and run with Node

**smartlead.mjs** Node 22.18 or later

Terminal

```bash
export EV_API_KEY=…  SMARTLEAD_API_KEY=…
node smartlead.mjs --lists
node smartlead.mjs --campaign <id> --dry-run
node smartlead.mjs --campaign <id>
node smartlead.mjs --campaign <id> --yes
```

## 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 cold email campaigns in Smartlead and want the leads that will bounce, or should not be mailed at all, marked before the sequence starts.
- **You need**: Node 22.18 or later, an [API key](https://email-validation.org/app/api-keys/) of ours with the Bulk lists permission (off by default: turn it on when you create the key), and a Smartlead admin API key given to the script alone and kept like a password. Smartlead offers API access on its Pro plan and higher, to the account owner or a team member with admin access.
- **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/smartlead/)

## Typical uses.

- **Mark the leads to leave out**: Each lead gets the custom fields email\_validation\_status, email\_validation\_action and email\_validation\_checked\_at. Leave out the leads whose action is remove: that covers spam traps and complainers too.
- **Pause them, if you ask**: Add --pause-remove and the script also pauses, in that campaign, the remove leads that are still being sent to. A paused lead stays in the campaign and can be resumed in Smartlead, except on its last step.
- **Clean a lead list through a campaign**: Smartlead’s API cannot read the leads of a lead list, so the script cleans campaigns. Add the list’s leads to a campaign in Smartlead, then clean that campaign.

## Set it up. 4 steps.

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

1. **Download the script**: It is not on a marketplace: download smartlead.mjs from the guide. It is one file, with nothing to install.
2. **Create both keys**: Create an API key of ours with Bulk lists, plus Read balance and usage if you want your balance shown before it asks. In Smartlead, open your avatar, Settings, API Key Management, Admin API Keys, and copy an active key or create one with Create Admin Key.
3. **Find the campaign**: Set `EV_API_KEY` and `SMARTLEAD_API_KEY`, then run `node smartlead.mjs --lists` for your campaigns and lead lists with their ids.
4. **Dry run, then run**: `node smartlead.mjs --campaign <id> --dry-run` shows the leads, the distinct addresses and the most credits it would use, and spends nothing. Run it again without `--dry-run`, confirm, and the statuses are written.

## Good to know.

- It never deletes a lead or removes one from a campaign, and pauses one only with --pause-remove. Every other field keeps its value: the script reads each lead again right before it writes, and after its first write it checks that lead once more and stops if Smartlead changed anything else.
- Smartlead limits the requests an API key may send, and writing takes about one request per lead, so a large campaign can take hours. Smartlead gives a client key 60 requests a minute by default and all admin keys of an account 200 a minute together; by default the script stays under the lower one, at 50 a minute and 800 an hour, and with an admin key you can raise it with --rate and --per-hour. The check itself is not slowed.
- Unsubscribed and blocked leads are skipped unless you add --all-leads. Duplicates, malformed addresses and unknown results cost nothing.
- 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 counts, ids and the names of your campaigns and lead lists, never an address or a key.
- `--region eu` checks and keeps the list in the EU, with the same key.

## Related

- [The full Smartlead setup guide](https://email-validation.org/docs/guides/smartlead/)
- [The custom fields it writes, and --pause-remove](https://email-validation.org/docs/guides/smartlead/#fields)
- [How long a large campaign takes](https://email-validation.org/docs/guides/smartlead/#speed)
- [What each status means](https://email-validation.org/docs/statuses/)
- [Woodpecker integration](https://email-validation.org/integrations/woodpecker/)
- [Apollo integration](https://email-validation.org/integrations/apollo/)
- [HeyReach integration](https://email-validation.org/integrations/heyreach/)
- [Instantly integration](https://email-validation.org/integrations/instantly/)
- [All integrations](https://email-validation.org/integrations/)
