Skip to navigation

Retrieve a phone check

Error codes

errorStatusMeaning
not_found404No such check of this kind, or it was deleted.
secret_key_required403A publishable key was used. This endpoint accepts secret keys only.
environment_mismatch403The key belongs to an environment this deployment does not serve.
ip_not_allowed403The key has an IP allowlist and the calling address is not on it.
organization_suspended403The organisation is suspended. The response carries reason and suspendedAt.
business_not_approved403A live key was used before the business was approved for production.

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

AuthorizationBearer

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.

Path parameters

idstringRequired

The check id, as returned by the run (chk_…).

Response

The check.
idstring

The check id (chk_…).

kindenum
Which check this is.
Allowed values:
outcomeenum

pass: nothing of concern. review: something a person should look at. fail: a clear problem. unavailable: the check could not be completed, was not charged, and is never a pass.

Allowed values:
subjectstring
What was checked, as your history lists it.
channelenum
Whether the check was run through the API or from the dashboard.
Allowed values:
createdAtdatetime
When the check was run.
inputobjectOptional

What was sent, minimised: never image bytes, only media ids.

externalUserIdstring or nullOptional
Your own reference for the check, as sent.
resultobject or nullOptional
What was found. Null when the check could not be completed.
failureCodestring or nullOptional

Why the check could not be completed, when outcome is unavailable.

chargedstring or nullOptional
What the check cost in USD, as a decimal string. Null when nothing was charged.
entityIdstring or nullOptional
The customer record this check was saved to.
completedAtdatetime or nullOptional
When it finished.
replayedbooleanOptional

On a run only: true when this is a check already run under the same requestId.

Errors

401
Unauthorized Error
403
Forbidden Error
404
Not Found Error