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
POSThttps://app.usenotix.dev/api/v1/email-checks/jobs

Needs 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.

FieldWhat it does
contactBookIdThe book to check. Leave it out to check every contact of the team.
segmentIdCheck only this segment of the book. Needs contactBookId.
onlyUncheckedCheck only contacts never checked before.
onlyUnknownCheck again only contacts whose last result is unknown.
suppressInvalidWhen 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).
mailboxAlso 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

verdictMeaning
validNothing wrong found.
riskyMail 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.
invalidMail will not arrive: not a valid address, a domain that cannot receive email, or a mailbox that does not exist or was turned off.
unknownWe 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

contactBookIdstring

The contact book to check. Leave it out to check every contact of the team.

At most 64 characters.

segmentIdstring

Check only this segment of the contact book. Needs contactBookId.

At most 64 characters.

mailboxboolean
suppressInvalidboolean

When the check finishes, add every invalid address to the suppression list (removable later). Needs a key created by a team admin.

onlyUncheckedboolean

Check only contacts that were never checked.

onlyUnknownboolean

Check again only contacts whose last result is unknown.

Headers

Authorizationstringrequired

Bearer followed by your API key.

Errors

400

The body is not valid.

403

`suppressInvalid` was asked for with a key not created by a team admin.

404

No contact book or segment with this id in the team.

409

A check is already running for this team.

422

More contacts than one check covers (50,000), or a segment that cannot be checked.

429

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
}'
Response202
{
  "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"
}
Open in ClaudeOpen in ChatGPT