Email verification API reference

Check one address or a whole list, and get the results back as JSON, a file or a webhook.

Last updated November 24, 2026

Getting started

The API lives at https://api.verifyinboxes.com. Every request under /v1 carries your key in the Authorization header. Keys are created in the app, on the API keys page, and are shown once.

curl https://api.verifyinboxes.com/v1/account \
  -H "Authorization: Bearer $KEY" 

GET /v1/account answers with your account's name, credit balance and safe_to_send_threshold. balance can be negative: a refund or a dispute after the credits were spent takes it below zero, and every request that spends credits is refused with 402 insufficient_credits until a purchase brings it back above zero.

Requests and answers are JSON. An error is always {"error":{"code","message"}} with a matching HTTP status. The ones you will meet most:

StatusCodeMeaning
400invalid_requestThe body or a parameter is malformed.
401unauthorizedThe key is missing, malformed or revoked.
402insufficient_creditsThe account has no credits left, or its balance is below zero.
403account_suspendedThe account is suspended.
404not_foundNo such job, or it belongs to another account.
429rate_limitedToo many requests. Wait for the seconds in Retry-After.

Credits. There are two kinds: Standard credits and Deep credits. A Standard check that ends in a definitive verdict costs 1 Standard credit. A check that ends unknown is free, and so is a list row with no email address. Credits never expire and the API has no minimum; prices are on the pricing page.

Verify one address

POST /v1/verify checks a single address. It answers within about 5 seconds with the result, or with 202 and a job to poll when the mail server is slow. Limit: 10 requests a second per key.

curl https://api.verifyinboxes.com/v1/verify \
  -H "Authorization: Bearer $KEY" \
  -H "content-type: application/json" \
  -d '{"email":"ann@example.com"}'

A finished check, 200:

{
  "email": "ann@example.com",
  "verdict": "valid",
  "score": null,
  "safe_to_send": true,
  "flags": [],
  "provider": "google",
  "catch_all_domain": false,
  "verified_at": "2026-11-16T09:41:07.000Z",
  "reason": "mailbox_exists",
  "job_id": "019a3b6e-8f0c-7d2e-9a41-5c3e2f1b0a77"
}

A check still running, 202:

{ "status": "pending", "job_id": "019a3b6e-8f0c-7d2e-9a41-5c3e2f1b0a77" }

Poll GET /v1/jobs/{job_id} until its status is done; the result is in its result field. Add "force_recheck": true to the body to skip a cached verdict and ask the mail server again.

The result

FieldWhat it holds
verdictvalid, invalid, catch_all, risky or unknown.
reasonWhy, as a code. See the table below.
safe_to_sendtrue for valid, and for catch_all with a score at or above your account's threshold.
scoreFor catch-all addresses, the chance of delivery from 0 to 1. null for now: catch-all scores are coming soon.
flagsAny of disposable, role, free_provider, gateway.
providerWho hosts the domain's mail: google, microsoft, proofpoint, mimecast, other, or null.
catch_all_domainWhether the domain accepts every address, when known.
verified_atWhen the verdict was reached.
sourceWhether the answer comes from a fresh check or, as cache, from earlier knowledge. Treat a value you do not recognise as informational.
did_you_meanPresent when the domain looks like a typo, with the likely address.

The reasons you will see today:

ReasonVerdictMeaning
mailbox_existsvalidThe mailbox exists and accepts mail.
mailbox_not_foundinvalidThere is no such mailbox.
syntax, typoinvalidNot a valid address, or a mistyped well-known domain.
no_mail_serverinvalidThe domain cannot receive mail.
accept_all, catch_all_untestedcatch_allThe domain accepts every address, so its yes proves nothing.
greylistedriskyNo firm answer after repeated tries.
known_outcomevalid, invalid or riskyAnswered from what recently became of mail to the address.
unreachable, blocked, inconclusive, dns_errorunknownWe could not get an answer. Free.
suppressedunknownThe address or its domain is on a do-not-check list. Free.

Treat a reason you do not recognise as informational: new ones may be added.

Verify a list

POST /v1/jobs takes a list, as a CSV upload or a JSON array, and answers 201 with the job's id, status and total.

# a CSV file; name the email column if it is not "email"
curl https://api.verifyinboxes.com/v1/jobs \
  -H "Authorization: Bearer $KEY" \
  -F email_column=Email -F file=@list.csv

# or a JSON array
curl https://api.verifyinboxes.com/v1/jobs \
  -H "Authorization: Bearer $KEY" \
  -H "content-type: application/json" \
  -d '{"emails":["a@example.com","b@example.com"]}'

GET /v1/jobs/{id} shows the job's status, its counts by verdict once done, and a download_url.

GET /v1/jobs/{id}/download returns your original file, same rows and columns in the same order, with the result columns added on the end. It answers 409 not_ready until the job is done. Add partial=1 to get the results so far while the job is still running: rows not checked yet keep their own columns and have empty result columns. It works with the two filters below.

curl -o results.csv "https://api.verifyinboxes.com/v1/jobs/$JOB/download" -H "Authorization: Bearer $KEY"

# only the rows that are safe to send
curl -o safe.csv "https://api.verifyinboxes.com/v1/jobs/$JOB/download?only=safe_to_send" -H "Authorization: Bearer $KEY"

# only some verdicts
curl -o some.csv "https://api.verifyinboxes.com/v1/jobs/$JOB/download?verdicts=valid,catch_all" -H "Authorization: Bearer $KEY" 

Lists and their results are deleted 30 days after the job finishes; after that the download answers 410 gone.

Look up a domain

GET /v1/domains/{domain} returns what is known about a domain: its mail provider, whether it accepts_mail, its mx_hosts, and whether it is catch_all when that was checked recently. It costs 1 credit, charged only when DNS gives an answer.

curl https://api.verifyinboxes.com/v1/domains/example.com -H "Authorization: Bearer $KEY"

Addresses you never want checked

Your account has a suppression list. Addresses and domains on it are never verified: they come back unknown with reason suppressed, free.

# add
curl https://api.verifyinboxes.com/v1/suppressions -H "Authorization: Bearer $KEY" -H "content-type: application/json" \
  -d '{"emails":["ann@example.com"],"domains":["example.org"]}'

# list the domains and count the addresses
curl https://api.verifyinboxes.com/v1/suppressions -H "Authorization: Bearer $KEY"

# remove
curl -X DELETE https://api.verifyinboxes.com/v1/suppressions -H "Authorization: Bearer $KEY" -H "content-type: application/json" \
  -d '{"emails":["ann@example.com"]}'

Addresses are stored only as a hash, so they cannot be listed back. A domain covers its own addresses, not those of its subdomains. Up to 10,000 entries per call.

Webhooks

POST /v1/webhooks with {"url","events"} registers a webhook. It answers 201 with a secret, shown only once. The URL must be https on a public host name. Up to 5 per account.

There are two events. Leave events out to get both.

{
  "event": "job.completed",
  "job_id": "019a3b6e-8f0c-7d2e-9a41-5c3e2f1b0a77",
  "kind": "bulk",
  "status": "done",
  "total": 2,
  "counts": { "valid": 1, "invalid": 1 },
  "finished_at": "2026-11-16T11:00:00.123456+00:00",
  "download_url": "https://api.verifyinboxes.com/v1/jobs/019a3b6e-8f0c-7d2e-9a41-5c3e2f1b0a77/download"
}

Check the signature. Each delivery has an X-Boxverifier-Signature header, t=<unix seconds>,v1=<hex>. v1 is the HMAC-SHA256 of <t>.<raw body>, keyed with your webhook's secret exactly as it was returned. Verify against the raw body before parsing it, and reject a t more than 5 minutes from your clock.

import { createHmac, timingSafeEqual } from 'node:crypto';

function verify(rawBody, header, secret) {
  const { t, v1 = '' } = Object.fromEntries(header.split(',').map((kv) => kv.split('=')));
  const expected = createHmac('sha256', secret).update(`${t}.${rawBody}`).digest('hex');
  const fresh = Math.abs(Date.now() / 1000 - Number(t)) <= 300;
  return fresh && v1.length === expected.length && timingSafeEqual(Buffer.from(v1), Buffer.from(expected));
}

GET /v1/webhooks lists your webhooks and DELETE /v1/webhooks/{id} removes one. If you would rather poll, GET /v1/notices?after=<id>&limit=<n> returns the same overturned-verdict notices, oldest first.

Report what happened to your mail

Telling us which addresses bounced, delivered or replied makes verdicts better, and it is free. Two ways:

curl https://api.verifyinboxes.com/v1/feedback -H "Authorization: Bearer $KEY" -H "content-type: application/json" \
  -d '{"events":[{"email":"ann@example.com","type":"hard_bounce","observed_at":"2026-11-04T10:00:00Z","dsn_code":"5.1.1","event_id":"b-1"}]}'

It answers {"accepted","duplicates","ignored","rejected"}; rejected lists each refused event by its position and why.

Deep verification

Deep resolves catch-all and gateway-protected addresses into valid or invalid. Most Deep answers arrive within 3 days. A large list, or a busy day, can take a week or more. It uses Deep credits, a separate balance from Standard credits, and is switched on per account: write to support@verifyinboxes.com to have it enabled.

A job's lane field says which kind it is: standard or deep.

Coming soon

Help

Stuck, or found something that does not match this page? Write to support@verifyinboxes.com.