Overview and quick start

The Email Verification API tells you whether an email address can receive mail. Send one address, get back a clear verdict in about a second: valid, invalid, risky or unknown.

What it checks#

Each verification runs these checks in order and stops as soon as it has a definite answer:

  1. Syntax: is it a well-formed email address?
  2. Domain: does the domain exist, and can it receive email? Disposable (temporary) email services are detected here.
  3. Mail servers: can the domain's mail servers be reached?
  4. Mailbox: does the mail server accept this exact mailbox, and does it reject addresses that don't exist?

No email is ever sent to the address.

Key facts#

Endpoint POST /api/v1/verifications
Base URL Shown on the API & Docs page in your portal
Format JSON requests and responses, UTF-8, over HTTPS
Authentication Your API key as a bearer token: Authorization: Bearer YOUR_API_KEY
Versioning The version is in the path (/api/v1). New fields may be added; existing fields never change meaning.
Cost One verification from your plan per processed email, whatever the result

Quick start#

1. Get an API key#

In the portal, open API Keys and select Create key. Store it in an environment variable named VERIFY_API_KEY. It is shown only once. See Authentication and API keys.

2. Send your first request#

curl -X POST https://thenotifier.io/api/v1/verifications \
  -H "Authorization: Bearer $VERIFY_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"email":"someone@example.com"}'

3. Act on the result#

Branch on data.status:

status What to do
valid Safe to send.
invalid Reject the address or ask the person to correct it.
risky It can receive mail but isn't confirmed (for example a catch-all domain or a shared inbox). Accept with care.
unknown No reliable answer. Don't treat it as invalid. Re-checking within 30 days returns the same stored answer.

Here's a complete example that retries safely and handles every status:

# -i prints the response headers: X-RateLimit-Remaining, Retry-After, X-Request-Id ...
curl -i -X POST https://thenotifier.io/api/v1/verifications \
  -H "Authorization: Bearer $VERIFY_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"email":"someone@example.com"}'

# HTTP/2 200
# x-ratelimit-limit: 60
# x-ratelimit-remaining: 59
# x-request-id: req_3f9c...

Next steps#