Check a one-time code
Checks the code the person typed. A correct code marks the challenge verified and returns the record. No proof token is returned, and a contact proved here cannot be carried into a verification submission.
Every call spends one attempt, including a repeat call on a challenge that is already verified. A wrong code answers 400 invalid_code with attemptsRemaining.
Billing. The check is charged once, when a code is first accepted, in production only. chargedAmount reports the cost. A repeat call does not charge again.
Error codes
A missing or unknown key answers 401, where error is a short sentence rather than a code.
Requires a secret (sk_) key. A publishable key receives 403 secret_key_required.
Authentication
Send the API key as a Bearer token. Each operation states whether a publishable key is enough or a secret key is required. A scoped publishable key has Verification flow access, the fixed set flow.run, flow.config.read and verifications.status.read; a scoped secret key reaches what its scopes allow.