# Validate GetResponse Contacts

URL: https://email-validation.org/docs/guides/getresponse/
Updated: 2026-11-29

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

Check the addresses of a GetResponse list and write each contact's result into four custom fields, so your segments
and automations can leave out the addresses you should not mail. A sync script you run on your own computer checks the
list as one bulk list and writes the results back; a small relay you deploy checks each new subscriber as they sign
up. Neither ever deletes, moves, unsubscribes or tags a contact. Download them:
[email-validation-getresponse.zip](https://email-validation.org/downloads/getresponse/email-validation-getresponse.zip) holds `getresponse.mjs`
(the sync script), `relay.mjs` (the relay), `webhook.json` (the webhook's settings) and the MIT licence.

## What you need

- **A computer** with Node 22.18 or later. Nothing to install: the script has no dependencies.
- An API key of ours from the [API keys page](https://email-validation.org/app/api-keys/). For the sync, turn on the permission **Bulk lists**
  (off by default) when you create it; for the relay alone, **Validate addresses** (on by default) is enough.
- A GetResponse API key: in GetResponse, **Tools** → **Integrations and API** → **API** → **Generate API key**, then
  name it. GetResponse shows it once, and an API key that is not used for 90 days expires. On the Free plan, API keys
  are locked once the first 30 days of premium features end
  ([Can I try GetResponse before I buy?](https://www.getresponse.com/help/can-i-try-getresponse-before-i-buy.html)),
  so the sync needs a paid plan after that. Treat it as full access to
  your account, and keep it secret.
- For the relay only: a Cloudflare account to run it in (and Cloudflare's `wrangler` command, `npx wrangler`).

Works with standard GetResponse accounts and with GetResponse MAX: add `--max-domain <your domain>` (and
`--max-region pl` for an account hosted in Poland), as your GetResponse account manager gave it.

## Run the sync

```bash
cd email-validation-getresponse                     # the unzipped folder
export EV_API_KEY=…  GETRESPONSE_API_KEY=…
node getresponse.mjs --lists                         # every list: id, contact count, name
node getresponse.mjs --list <list id> --dry-run      # what it would check; spends nothing, writes nothing
node getresponse.mjs --list <list id>                # checks and writes the four fields
```

The first run creates the four custom fields (`node getresponse.mjs --setup` creates only the fields). Contacts that
already have a result (other than `unknown`) are skipped; `--revalidate` checks them again. `--region eu` (or
`EV_REGION=eu`) checks and keeps the list in the EU, with the same key.

The sync does not ask before it spends: run it with `--dry-run` first to see how many contacts it would check. Each
distinct address uses one credit; `unknown` results, duplicates and malformed addresses are free.

## What it writes

| Custom field | Value |
|---|---|
| `ev_status` | `valid`, `invalid`, `catch_all`, `unknown` or `disposable` ([statuses](https://email-validation.org/docs/statuses/)) |
| `ev_reason` | why, for example `accepted`, `no_mailbox`, `spamtrap` |
| `ev_action` | `send`, `send_with_caution`, `remove` or `retry_later` |
| `ev_checked_at` | when the check ran, in UTC |

The fields are Text fields (you can also make them yourself: **Contacts** → **Custom fields** → **Add custom field**,
type **Text**, format **Line of text**, with the names above). An `ev_` field that exists with another type stops the sync before anything is
checked. Trust `ev_action`, not `ev_status`: spam traps and complainers are `valid` with the action `remove`.

To leave the bad ones out, make a segment of the contacts whose custom field `ev_action` is `remove` in the list you
cleaned, for example "EV remove": with GetResponse's new segmentation, **Contacts** → **Segments** → **Create
segment** and a custom field condition; with the legacy one, **Contacts** → **Search**, **Advanced search**, the
condition, then **Save as segment**
([What is a segment and how to create one?](https://www.getresponse.com/help/what-is-a-segment.html)). Exclude that segment when you send. Nothing else changes on a contact: removing, unsubscribing or
deleting stays your decision in GetResponse.

## The relay: new subscribers as they sign up

The relay is a Cloudflare Worker that runs in your own Cloudflare account. From the unzipped folder:

```bash
npx wrangler deploy relay.mjs --name ev-getresponse-relay --compatibility-date 2026-10-01
npx wrangler secret put EV_API_KEY --name ev-getresponse-relay            # our API key
npx wrangler secret put GETRESPONSE_API_KEY --name ev-getresponse-relay   # your GetResponse API key
npx wrangler secret put RELAY_SECRET --name ev-getresponse-relay          # 32+ random characters: openssl rand -hex 32
```

Run the sync once first (or `node getresponse.mjs --setup`): until the four fields exist, the relay checks nothing.
Optional settings, as `--var NAME:value` on the deploy command: `EV_REGION:eu`; `GETRESPONSE_LIST_ID:<list id>` to
check only the contacts of one list; `GETRESPONSE_MAX_DOMAIN:<domain>` (and `GETRESPONSE_MAX_REGION:pl`) for
GetResponse MAX.

Then in GetResponse, **Tools** → **Webhooks** → **Create webhook** (`webhook.json` holds the same settings):

1. **Webhook name**: any, for example `email-validation.org relay`.
2. **Webhook URL**: the relay's address with your secret as the `token` parameter,
   `https://ev-getresponse-relay.<your-subdomain>.workers.dev/?token=<RELAY_SECRET>`.
3. The event **Contact subscribed** only.
4. Switch **Webhook status** to active: a webhook that is not active sends nothing.
5. Leave **Webhook batching** off (the default): the relay answers a batch without checking it.

Then click **Create webhook**
([How to create a webhook?](https://www.getresponse.com/help/how-to-create-a-webhook.html)).

Within seconds of a sign-up, the contact has its four fields. GetResponse does not sign its webhooks, so the secret in
the address is what tells the relay a delivery is yours: anything without it gets a 404. Keep the webhook's address
secret, and change `RELAY_SECRET` and the address if it leaks.

Imports do not send the **Contact subscribed** event, and copying or moving contacts between lists sends other events:
run the sync after those. A contact the relay could not check (no credits, an outage) keeps no result; the next sync
run checks it.

## Try it free first

Make a test list in GetResponse with no confirmation message and no welcome or autoresponder message, and add one
contact by hand with the address `no_mailbox@sandbox.email-validation.org`. Test addresses cost nothing, and that
domain receives no mail, so send it nothing. Run `node getresponse.mjs --list <the test list's id>`: it should exit
`0`, and the contact gets `ev_status` `invalid` and `ev_action` `remove`.

That tries the sync only. To try the relay, deploy it and add its webhook, then add a second contact to the test list
by hand with `disposable@sandbox.email-validation.org`: within seconds it gets `ev_status` `disposable` and
`ev_action` `remove`, and the next sync run counts it as already checked. If its fields stay empty, the webhook did not
reach the relay: check the webhook's address and token. Keep both contacts out of campaigns, then delete the test list.

## Run it again

Run the same command again after any stop (no credits, a closed laptop, the bulk list still running): it resumes the
same bulk list and never pays twice (within the 30 days a list is kept). Run it from the same
folder each time (or pass the same `--state FILE`): the file it keeps there holds the bulk list it is working on, never
an address or a key. When every contact is written, the file is removed and the next run checks only contacts without a
result (or with `unknown`), so you can run it on a schedule, for example daily with cron, to catch what the relay did
not see. A scheduled run does not see your shell's `export`s: give it both keys, `EV_REGION=eu` (or `--region eu`) if
you check in the EU, and for GetResponse MAX `--max-domain` (and `--max-region`), on every run, cron included.

Exit codes: `0` done, `1` a write failed or the run stopped (run it again), `2` wrong arguments, `75` the bulk list
was still running when the script stopped waiting (run it again later).

The script prints contact ids, job ids and counts, never an address or a key.

## Stop it and end its access

To stop the relay, delete the webhook in GetResponse (**Tools** → **Webhooks**), then the Worker with
`npx wrangler delete --name ev-getresponse-relay`, which deletes its three secrets with it. Deleting the unzipped
folder does not end access: to end it, delete the GetResponse API key under **Tools** → **Integrations and API** →
**API** (a key the relay or a cron job still holds stops working only then), and delete our API key on the
[API keys page](https://email-validation.org/app/api-keys/).

## More on GetResponse

- [GetResponse integration](https://email-validation.org/integrations/getresponse/)
- [Cleaning a GetResponse contact list](https://email-validation.org/guides/clean-email-list-getresponse/)
