Skip to navigation

Check an email address

Checks an email address for risk without sending it anything. The domain is checked against public and Toden lists of throwaway services and the mail servers they run on, for a mail server (MX record) at all, and for how long ago it was registered. The address itself is read for a team mailbox (info@, support@) and for a name a machine made. Your earlier verifications that proved the same inbox are counted (a +tag or Gmail dots are the same inbox), and so are other organisations that declined it for fraud (a count only, never which). Where Toden offers it, the breach history is added.

These make a score from 0 to 100 with the reasons behind it: low below 30, medium from 30, high from 60. The outcome is pass for low, review for medium and fail for high. An address whose domain has no mail server is at least review, whatever its score, because nothing sent to it will arrive.

Send socialFootprint: true to add the social footprint: the public profiles and services the address is registered on, with any names and photos published. It is its own add-on charge, refunded when no source could be asked, and never changes the score or the outcome.

Outside production, addresses on the test domains low.example, new.example, disposable.example and nomail.example answer with fixed facts (a footprint is found for low.example only); any other address is checked for real at no charge.

Charged per check at your price (production only); a check that could not be completed is not charged. Send a requestId: a retry with the same value returns the same check with replayed: true, without running or charging again.

Error codes

errorStatusMeaning
invalid_input400The body is missing something the check needs, or the requestId is malformed.
insufficient_credits402Your balance cannot cover the check. Nothing was run or charged.
checks_unavailable403These checks are not switched on for your organisation yet.
spot_checks_disabled403Spot checks are not enabled for your organisation.
request_id_reused409The requestId was used for a different check.
check_in_progress409A check with this requestId is still running.
file_not_found422The uploaded file was not found, is not yours, or has expired.
check_unavailable503The check cannot run on this deployment right now. Nothing was charged.
secret_key_required403A publishable key was used. This endpoint accepts secret keys only.
environment_mismatch403The key belongs to an environment this deployment does not serve.
ip_not_allowed403The key has an IP allowlist and the calling address is not on it.
organization_suspended403The organisation is suspended. The response carries reason and suspendedAt.
business_not_approved403A live key was used before the business was approved for production.

A missing or unknown key answers 401, where error is a short sentence rather than a code.

Requires a secret (sk_) key. A publishable key receives 403 secret_key_required.

Authentication

AuthorizationBearer

Send the API key as a Bearer token. Each operation states whether a publishable key is enough or a secret key is required. A scoped publishable key has Verification flow access, the fixed set flow.run, flow.config.read and verifications.status.read; a scoped secret key reaches what its scopes allow.

Request

This endpoint expects an object.
emailstringRequiredformat: "email"
The address to check, at most 254 characters. Case and surrounding spaces are ignored.
socialFootprintbooleanOptionalDefaults to false

Add the social footprint: the public profiles and services the address is registered on, with any names and photos published. Charged as its own add-on in production, refunded when no source could be asked. It never changes the score or the outcome.

externalUserIdstringOptional<=255 characters

Your own reference for the check (a customer or case id), kept with it and searchable in your history.

requestIdstringOptional

Your idempotency key, 8 to 120 characters: a retry with the same value returns the same check.

Response

A retry: the check already run under this requestId.

idstring

The check id (chk_…).

kindenum
Which check this is.
Allowed values:
outcomeenum

pass: nothing of concern. review: something a person should look at. fail: a clear problem. unavailable: the check could not be completed, was not charged, and is never a pass.

Allowed values:
subjectstring
What was checked, as your history lists it.
channelenum
Whether the check was run through the API or from the dashboard.
Allowed values:
createdAtdatetime
When the check was run.
inputobjectOptional

What was sent, minimised: never image bytes, only media ids.

externalUserIdstring or nullOptional
Your own reference for the check, as sent.
resultobject or nullOptional
What was found. Null when the check could not be completed.
failureCodestring or nullOptional

Why the check could not be completed, when outcome is unavailable.

chargedstring or nullOptional
What the check cost in USD, as a decimal string. Null when nothing was charged.
entityIdstring or nullOptional
The customer record this check was saved to.
completedAtdatetime or nullOptional
When it finished.
replayedbooleanOptional

On a run only: true when this is a check already run under the same requestId.

Errors

400
Bad Request Error
401
Unauthorized Error
402
Payment Required Error
403
Forbidden Error
409
Conflict Error
422
Unprocessable Entity Error
503
Service Unavailable Error