Skip to content

Poll a pending verification

GET /v1/email-verifications/{id}?timeout=30

Returns the same two shapes as the create call: 200 with status: "completed" and the result once the check has finished, or 202 with status: "pending" and a fresh poll_after_ms while it is still in flight.

Parameter Type Default Description
timeout integer none Seconds to hold the request open waiting for the result, from 1 to 90. Values above 90 are treated as 90. A value that is not a positive whole number returns 400 {"error":"Invalid timeout"}.

Without timeout the call answers immediately with the current state, so wait poll_after_ms between calls. With timeout it returns 200 as soon as the result lands, or 202 (with a Location header) if the check is still running when the timeout runs out. One call with timeout=30 replaces a polling loop for most addresses.

Terminal window
curl "https://api.tryverifyemail.com/v1/email-verifications/5f1c9d2e-8b1a-4f5e-9c3d-2a7b6e4d1f08?timeout=30" \
-H "Authorization: Bearer sk_your_api_key"

An id that is not yours, or that never existed, reads as pending rather than 404. Ids are unguessable, so only poll ids you received from a create call.

Polling is one of three ways to collect a verdict after a 202. You can also send the same POST again, which returns the same id and costs no second credit only while the check is still pending (once it has finished, a repeat POST starts a new check and costs a new credit), or read your history.