Skip to main content
Verify ID document

Authorizations

x-api-key
string
header
required

API key authentication

Query Parameters

excludePII
boolean
default:false

Set to true to omit personally identifiable data from the response: document_data, photo_urls, and video_urls are not returned. Every other field is unchanged. Any other value, or leaving it out, returns the full response. Applies to this response only; webhooks are not affected.

Body

application/json
session_id
string<uuid>
required

The session ID obtained from the /liveness/session endpoint

Response

Document verification completed

metadata
object
decision
enum<string>

Overall decision

Available options:
Fake,
Suspicious,
Real
risk_score
number<float>

Risk score where higher values indicate higher risk

Required range: 0 <= x <= 1
risk_flags
string[]

See Risk Flags for more information.

lists
string[]

Names of the lists the enrolled account is currently a member of. Membership is evaluated fresh on every call, so list changes are reflected immediately. Empty array for sessions not yet linked to an account. See Rules, Lists, and Verifications for more information.

rules
string[]

Names of the rules that have triggered for the enrolled account. Empty array for sessions not yet linked to an account.

document_signals
object
document_data
object
device_network_signals
object
referring_session_signals
object
photo_urls
object
video_urls
string<uri>[]

Signed URL to the session video

session_data
object
matches
object