Skip to main content
POST
Verify an email address
Use this endpoint to check an address you already have, from your CRM, a form or a list, before sending to it. Pipecorn asks the recipient’s mail server whether the mailbox exists, without sending an email. Emails that Pipecorn finds through enrichment are already verified: you don’t need to verify them again.

Flow

  1. Send the email, and optionally a webhook_url. The response comes back right away with status: "pending", a verification_id and a status_url.
  2. Pipecorn checks the address with several verifiers, cheapest first, and stops at the first one that is sure. A catch-all or unknown answer goes on to the next verifier.
  3. Poll status_url (Get an email verification) until status is finished, or wait for the webhook. Most checks finish within a minute.

Reading the result

disposable, role_based and free_provider flag throwaway addresses, shared mailboxes such as sales@, and free providers such as Gmail. They, score and catch_all_domain are null when the verifier that answered does not report them.

Credits

A verification costs 1 enrichment credit when it ends deliverable, catch_all or undeliverable, charged when it finishes. An unknown result is free. credits_charged says what it cost.

Rate limits

  • 60 requests per minute per user. This endpoint is exempt from your plan’s per-minute limit (see Rate Limiting).

Authorizations

X-API-KEY
string
header
required

Your API key

Headers

Idempotency-Key
string

A unique value you generate per operation, such as a UUID. Retrying with the same key and the same body returns the stored response instead of running the request again, so a retry after a timeout never charges twice. Successful responses are kept for 24 hours; a failed request is not stored and can be retried with the same key.

Maximum string length: 255
Example:

"4f1c2e9a-8a7d-4c1b-9f63-2d6e0b5a7c11"

Body

application/json
email
string<email>
required

The address to verify, work or personal. Case-insensitive.

Example:

"william.hewish@acme.com"

webhook_url
string<uri>

Where to POST the result when the check ends. Same body as GET /contacts/verify_email/{id}.

Response

The check started

verification_id
string<uuid>

The verification's ID, for GET /contacts/verify_email/{id}

status
enum<string>

pending while the check runs, finished once the result is in, failed when it could not be charged (see error).

Available options:
pending,
finished,
failed
email
string<email>

The address being verified, lowercased

deliverability
enum<string> | null

deliverable: the mailbox accepts mail. catch_all: the domain accepts every address, so this one can't be confirmed. undeliverable: the mailbox does not exist or rejects mail. unknown: no verifier could tell. null until status is finished.

Available options:
deliverable,
catch_all,
undeliverable,
unknown,
null
score
integer | null

Confidence that mail sent to the address is delivered, from 0 to 100, when the verifier gives one

Required range: 0 <= x <= 100
catch_all_domain
boolean | null

true when the domain's server accepts mail for any address. null when not known

disposable
boolean | null

true for a throwaway address from a disposable email service. null when not known

role_based
boolean | null

true for a shared mailbox such as sales@ or support@. null when not known

free_provider
boolean | null

true for a free mailbox provider such as Gmail or Outlook.com. null when not known

mx_records
string[] | null

The domain's mail servers, when known

smtp_provider
string | null

Who hosts the domain's email, such as Google or Microsoft, when known

verified_at
string<date-time> | null

When the address was checked

credits_charged
enum<integer>

Credits this verification cost: 1 for a verdict, 0 for unknown or while it runs

Available options:
0,
1
error
string | null

Why the verification failed. null otherwise

status_url
string<uri>

GET /contacts/verify_email/{id} for this verification. Also in the Location header