View as Markdown

Start Email Verification

POST/v2/email-verifications/{id}/start

Confirm a counted bulk email verification job and start verifying it. Costs 1 email verification credit per billable row (counts.billable), charged at start; unknown rows and rows never verified are refunded when the job ends. Atomically flips an awaiting_confirmation job to verifying and charges it; a failed charge rolls the flip back. Answers 202 with the job and Location: /v2/jobs/{id}. With an Idempotency-Key, a retry of a start that went through answers the job again (never a second charge, never a 402), and 409 idempotency_in_progress while its charge is still being confirmed.

Path parameters

  • idstringrequired

    The verification job id: the id that POST /v2/email-verifications answers and GET /v2/email-verifications lists.

Responses

  • 202 The job, now verifying (or assembling when nothing is billable).
  • 400 Malformed id (VALIDATION_ERROR, no code) or Idempotency-Key (VALIDATION_ERROR, invalid_format).
  • 401 Missing, unknown or inactive credentials (UNAUTHORIZED).
  • 402 Not enough email verification credits (PAYMENT_REQUIRED): a zero balance (with X-Limit-Reached / X-Limit-Type), or a balance below counts.billable.
  • 404 No such record in this workspace (NOT_FOUND).
  • 409 CONFLICT: the job is not awaiting_confirmation (invalid_state, payload.status names its state), this Idempotency-Key start is still being charged (idempotency_in_progress, Retry-After: 2), or another start of the workspace is being charged (charge_lock_busy, Retry-After: 1).
  • 500 Unexpected server error.
  • 503 The charge lock is unavailable (INTERNAL_ERROR); retry shortly.

For error handling see Errors.