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:
| Status | Code | Meaning |
|---|---|---|
| 400 | invalid_request | The body or a parameter is malformed. |
| 401 | unauthorized | The key is missing, malformed or revoked. |
| 402 | insufficient_credits | The account has no credits left, or its balance is below zero. |
| 403 | account_suspended | The account is suspended. |
| 404 | not_found | No such job, or it belongs to another account. |
| 429 | rate_limited | Too 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
| Field | What it holds |
|---|---|
verdict | valid, invalid, catch_all, risky or unknown. |
reason | Why, as a code. See the table below. |
safe_to_send | true for valid, and for catch_all with a score at or above your account's threshold. |
score | For catch-all addresses, the chance of delivery from 0 to 1. null for now: catch-all scores are coming soon. |
flags | Any of disposable, role, free_provider, gateway. |
provider | Who hosts the domain's mail: google, microsoft, proofpoint, mimecast, other, or null. |
catch_all_domain | Whether the domain accepts every address, when known. |
verified_at | When the verdict was reached. |
source | Whether the answer comes from a fresh check or, as cache, from earlier knowledge. Treat a value you do not recognise as informational. |
did_you_mean | Present when the domain looks like a typo, with the likely address. |
The reasons you will see today:
| Reason | Verdict | Meaning |
|---|---|---|
mailbox_exists | valid | The mailbox exists and accepts mail. |
mailbox_not_found | invalid | There is no such mailbox. |
syntax, typo | invalid | Not a valid address, or a mistyped well-known domain. |
no_mail_server | invalid | The domain cannot receive mail. |
accept_all, catch_all_untested | catch_all | The domain accepts every address, so its yes proves nothing. |
greylisted | risky | No firm answer after repeated tries. |
known_outcome | valid, invalid or risky | Answered from what recently became of mail to the address. |
unreachable, blocked, inconclusive, dns_error | unknown | We could not get an answer. Free. |
suppressed | unknown | The 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"]}'- Up to 1,000,000 rows, 256 MiB and 1,000 columns per list, and 5 lists running at once per account.
- Send
email_columnbeforefilein the upload. - A row with an empty email cell is skipped: not checked, not charged, not counted in
total. - A list where more than 40% of the addresses are at consumer mail providers is refused with
422 consumer_list. A list with no addresses is422 empty_list.
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.
job.completed: a list finished.address.contradicted: a verdict you were given has since been overturned, for example a bounce at an address we called valid.
{
"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));
}- Any
2xxanswer counts as received. Redirects are not followed. - A failed delivery is retried after 1 minute, 5 minutes, 30 minutes, 2 hours and 12 hours, then given up.
- Delivery is at least once.
X-Boxverifier-Deliveryis the same on every retry of one delivery, so use it to drop duplicates.X-Boxverifier-Eventnames the event.
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:
- Instantly or Smartlead.
POST /v1/integrationswith{"provider":"instantly"}or{"provider":"smartlead"}answers with aurl, shown once. Add it as a webhook in that tool: in Instantly for all events, in Smartlead on each campaign for sent, bounce and reply. Keep the URL private; anyone holding it can post events as your account. - Your own code.
POST /v1/feedbackwith up to 1,000 events per call.
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 Deep list. Add
"deep": truetoPOST /v1/jobs. It costs 1 Deep credit for each address that endsvalidorinvalid, a list holds up to 1,000 addresses, and catch-all and gateway-protected rows are followed up for you at no extra charge. Every other row is free. - A follow-up on a finished Standard list.
POST /v1/jobs/{id}/resolvecosts 4 Deep credits for each address that gets an answer. An address that stays unresolved is free.
A job's lane field says which kind it is: standard or deep.
Coming soon
- Catch-all scores. Until they launch,
scoreisnulland a catch-all address is not marked safe to send.
Help
Stuck, or found something that does not match this page? Write to support@verifyinboxes.com.