Verify Documents
For each verification transaction, you can read documents (such as the images of documents and images of the user, "selfies") submitted to the transaction for a short time. The documents endpoint, /environments/{{envID}}/users/{{userID}}/verifyTransactions/{{transactionID}}/documents, receives all requests for documents associated with the verification transaction. This endpoint returns the data regardless of whether the transaction is ever submitted for verification.
Only those with an Identity Data Admin role are permitted to use the documents endpoint.
Documents are retained for 30 minutes after creating or updating the document (submitted with the requests Create Verification Document or Update Verification Document or collected by the end user in the Universal Capture frontend) or until manually deleted with Delete Verification Document. Until removed, any number of GET or PUT requests to the documents endpoint can be successfully performed.
|
The document types accepted by a verify transaction is determined by the verify transaction’s
|
All verify documents data model
When all verify documents for a verification transaction are requested, the verify document for each verification type of the most recent retry appears in a documents array in the response. The verify document data model for each verification type of earlier retries appear in a previousAttempts array in the response.
| Property | Type | Required? | Mutable? | Description |
|---|---|---|---|---|
|
Object |
N/A |
Read-only |
Container for returned data. |
|
Object[] |
N/A |
Read-only |
Array of verifiedData objects for each verification type for the most recent verification attempt. |
|
Object[] |
N/A |
Read-only |
Array of verifiedData objects for each verification type for unacceptable verification attempts. |
|
Integer |
N/A |
Read-only |
The number of objects returned in |
Specific verify document data model
When specific verify document for a verification type within a verification transaction are requested, the verify document data model appears as the response, regardless of which retry attempt it is.
Verify document data model
| Property | Type | Required? | Mutable? | Description |
|---|---|---|---|---|
|
String |
N/A |
Read-only |
Document identifier (UUID) |
|
Integer |
N/A |
Read-only |
Number of the retry attempt when submitting images. |
|
String |
Required |
Immutable |
Provider of the documents. Can be |
|
String |
N/A |
Read-only |
Status of the document. Can be |
|
String |
Required |
Immutable |
Type of document in |
|
String |
Required |
Immutable |
Document, for the format of the document refer to Document types and values |
Document types and values
| Document Type | Value |
|---|---|
Document Back |
Base64 encoded JPEG |
Document Front |
Base64 encoded JPEG |
Driver License Back |
Base64 encoded JPEG |
Driver License Code |
decoded text from the PDF417 barcode |
Driver License Front |
Base64 encoded JPEG |
textual email address |
|
Passport Card Back |
Base64 encoded JPEG |
Passport Card Front |
Base64 encoded JPEG |
Passport Front |
Base64 encoded JPEG |
Phone |
textual phone number |
Selfie |
Base64 encoded JPEG |
Voice Input |
Base64 encoded LPCM WAV voice recording submitted for verification |
Voice Sample |
Base64 encoded LPCM WAV voice recording submitted for enrollment |
|
Voice verification is deprecated and will be removed on November 25, 2026. |
| Voice recordings must be sampled at 16 KHz when submitted from reading voice phrases (deprecated) or at 8 KHz when submitted from longer, text-independent recordings. |