Check a contact book
Starts a check of your contacts and answers 202 with the job: every contact of the team, one contact book, or one segment of a book.
On this page
https://app.usenotix.dev/api/v1/email-checks/jobsNeeds a full access key. Sending access keys cannot call this. Key permissions lists the extra rules some calls have.
Starts a check of your contacts and answers 202 with the job: every contact of the team, one contact book, or one segment of a book. Follow it with GET /v1/email-checks/jobs/{jobId} and read the results with GET /v1/email-checks/jobs/{jobId}/results. Each contact keeps its latest result. Checks are free.
| Field | What it does |
|---|---|
contactBookId | The book to check. Leave it out to check every contact of the team. |
segmentId | Check only this segment of the book. Needs contactBookId. |
onlyUnchecked | Check only contacts never checked before. |
onlyUnknown | Check again only contacts whose last result is unknown. |
suppressInvalid | When the check finishes, add every invalid address to the suppression list. You can lift them from the Suppressions page. Needs a key created by a team admin (403 otherwise). |
mailbox | Also check each mailbox exists, when that check is available on your account (otherwise the job runs without it and answers mailbox: false). |
One check runs per team at a time (409 CONFLICT), 20 can start a day (429 RATE_LIMITED), and one check covers at most 50,000 contacts, 20,000 with the mailbox check (422).
Results
verdict | Meaning |
|---|---|
valid | Nothing wrong found. |
risky | Mail may arrive but could hurt your sending: a throwaway address, a shared address such as info@, a likely typo, a domain that accepts any address, or a full mailbox. |
invalid | Mail will not arrive: not a valid address, a domain that cannot receive email, or a mailbox that does not exist or was turned off. |
unknown | We could not tell just now. Check again later. |
Each result lists its reasons, each with a stable code and a plain sentence: invalid_syntax, no_mail_server, dns_unavailable, possible_typo, disposable, role_address, free_provider (information only), mailbox_not_found, mailbox_disabled, mailbox_full, catch_all and mailbox_unverified.
The check never sends an email.
Who can call it
A full access key, including one limited to one domain (contacts are team-wide). Read only, send-only and live AI keys answer 403 SCOPE_DENIED.
Body parameters
The contact book to check. Leave it out to check every contact of the team.
At most 64 characters.
Check only this segment of the contact book. Needs contactBookId.
At most 64 characters.
When the check finishes, add every invalid address to the suppression list (removable later). Needs a key created by a team admin.
Check only contacts that were never checked.
Check again only contacts whose last result is unknown.
Headers
Bearer followed by your API key.
Errors
The body is not valid.
`suppressInvalid` was asked for with a key not created by a team admin.
No contact book or segment with this id in the team.
A check is already running for this team.
More contacts than one check covers (50,000), or a segment that cannot be checked.
The team started 20 checks today.
Every error has the same shape. See all error codes.
curl -X POST "https://app.usenotix.dev/api/v1/email-checks/jobs" \
-H "Authorization: Bearer $NOTIX_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"contactBookId": "cm1x8f3k20001qz7v5b9d2e4a",
"segmentId": "cm1x8f3k20001qz7v5b9d2e4a",
"mailbox": true,
"suppressInvalid": true,
"onlyUnchecked": true,
"onlyUnknown": true
}'
{
"id": "cm1x8f3k20001qz7v5b9d2e4a",
"contactBookId": "cm1x8f3k20001qz7v5b9d2e4a",
"segmentId": "cm1x8f3k20001qz7v5b9d2e4a",
"status": "queued",
"mailbox": true,
"suppressInvalid": true,
"onlyUnchecked": true,
"onlyUnknown": true,
"total": 1,
"processed": 1,
"counts": {
"valid": 1,
"risky": 1,
"invalid": 1,
"unknown": 1
},
"mailboxChecks": 1,
"suppressed": 1,
"error": "string",
"createdAt": "string",
"startedAt": "string",
"finishedAt": "string"
}