Skip to main content

List All Document Liveness Validations

Endpoint​

GET https://api.verifik.co/v2/document-liveness

With this service, you can retrieve all document liveness validations that you have processed.

Headers​

Content-Type​

Type: String
Required: Yes

application/json

Authorization​

Type: String
Required: Yes

Bearer <token>

Query Parameters​

page​

Type: number
Required: No

Page number for pagination (default: 1)

limit​

Type: number
Required: No

Number of records per page (default: 10, maximum: 100)

status​

Type: string
Required: No

Filter by status: new, processing, completed, failed

populates[]​

Type: string
Required: No

Optional array of related data to include. Available options: client, appRegistration.

Request​

import axios from 'axios';

const options = {
method: 'GET',
url: 'https://api.verifik.co/v2/document-liveness',
params: {
page: 1,
limit: 10,
status: 'completed',
'populates[]': ['client', 'appRegistration']
},
headers: {
'Content-Type': 'application/json',
'Authorization': 'Bearer <your_token>'
}
};

try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}

Response​

{
"success": true,
"data": [
{
"_id": "document_liveness_123456789",
"client": {
"_id": "client_123456789",
"name": "Example Client",
"email": "client@example.com"
},
"appRegistration": {
"_id": "app_registration_123456789",
"fullName": "John Doe",
"email": "user@example.com",
"status": "completed"
},
"imageSaved": true,
"imageUrl": "https://cdn.verifik.co/images/document_123456789.jpg",
"status": "completed",
"validationResults": {
"screenReplay": {
"passed": true,
"score": 0.95
},
"printedCopy": {
"passed": true,
"score": 0.90
},
"portraitSubstitution": {
"passed": true,
"score": 0.88
},
"digitalManipulation": {
"passed": true,
"score": 0.92
}
},
"riskScore": 0.05,
"confidence": 0.91,
"createdAt": "2024-01-15T10:30:00Z",
"updatedAt": "2024-01-15T10:32:00Z",
"completedAt": "2024-01-15T10:32:00Z"
}
],
"pagination": {
"page": 1,
"limit": 10,
"total": 1,
"pages": 1
},
"signature": {
"dateTime": "April 11, 2023 12:25 PM",
"message": "Certified by Verifik.co"
}
}

</TabItem>
</Tabs>

### Features

- **Complete Listing**: Retrieve all processed document liveness validations
- **Pagination**: Control page and record limit per page
- **Status Filtering**: Filter by status (new, processing, completed, failed)
- **Data Population**: Include client and application registration information
- **Validation Results**: Details of all anti-spoofing validations
- **Confidence Scores**: Detailed scores for each validation type
- **Image Storage**: Information about images saved to CDN
- **Multiple Languages**: Support for JavaScript, Python, PHP, and Swift
- **Detailed Information**: Includes timestamps, risk scores, and configuration