List all Document Validations
GET
https://api.verifik.co/v2/document-validations
This endpoint allows you to retrieve a list of all Document Validations within the Verifik API. You can use this to get a detailed overview of multiple document validations, including their status, associated project, validation methods, and more.
Headers
Content-Type
application/json
Authorization
Bearer <token>
Query Parameters
page
number
Specifies the page number for pagination, starting from 1.
perPage
number
Defines the number of items per page for pagination.
populates[]
string
Populates the specified field, transforming ObjectId references into full objects. Available options:
appRegistration
, projectFlow
where_status
string
Where condition to filter by status. Options: ASSESSING, ACTIVE, FAILED, NEEDS_MANUAL_VERIFICATION, NOT_FOUND, EXPIRED, ACTIVE_BUT_UNVERIFIED
where_documentType
string
Filter by document type (e.g., "driver_license", "passport", "national_id")
where_validationMethod
string
Filter by validation method. Options: MANUAL, OCR, SCAN_PROMPT, SCAN_STUDIO
where_type
string
Filter by validation type. Options: validation, login, signup, ocr, demo
where_inputMethod
string
Filter by input method. Options: CAMERA, FILE_UPLOAD, NOT_SET
Request
import http.client
payload = ""
headers = {
"Authorization": "Bearer YOUR_ACCESS_TOKEN"
}
conn = http.client.HTTPSConnection("api.verifik.co")
conn.request("GET", "/v2/document-validations", payload, headers)
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
Response
{
"data": [
{
"_id": "507f1f77bcf86cd799439011",
"age": "25",
"appRegistration": "507f1f77bcf86cd799439012",
"backUrl": "https://example.com/back",
"client": "507f1f77bcf86cd799439013",
"country": "United States",
"customDocumentType": "Enhanced Driver License",
"documentCategory": "Government ID",
"documentNumber": "DL123456789",
"documentType": "driver_license",
"firstNameMatchPercentage": 95.5,
"fullNameMatchPercentage": 92.0,
"gender": "Female",
"imageValidated": true,
"infoValidationSupported": true,
"infoValidationSupportedReason": "Document type supported",
"inputMethod": "CAMERA",
"lastNameMatchPercentage": 88.5,
"namesMatch": true,
"nationality": "US",
"OCRExtraction": {
"extractedText": "Sample extracted text",
"confidence": 0.95
},
"project": "507f1f77bcf86cd799439014",
"projectFlow": "507f1f77bcf86cd799439015",
"redirectUrl": "https://example.com/success",
"requiresBackSide": true,
"scoreValidated": true,
"scoreValidation": {
"overallScore": 0.92,
"threshold": 0.85
},
"status": "ACTIVE",
"template": "507f1f77bcf86cd799439016",
"type": "validation",
"url": "https://example.com/document/image",
"validationMethod": "OCR",
"createdAt": "2025-01-01T00:00:00.000Z",
"updatedAt": "2025-01-01T00:00:00.000Z"
}
]
}
Last updated
Was this helpful?