Create Biometric Validation
Last updated
Last updated
This endpoint is used to create a new biometric validation session for a user. The validation can be used for various flows, such as login, and includes biometric data for liveness checks.
https://api.verifik.co/v2/biometric-validations
POST
Parameter | Type | Description | Required |
---|---|---|---|
livenessSession: The data for the liveness session created as part of this biometric validation.
client: The unique identifier for the client.
project: The project ID associated with the biometric validation.
projectFlow: The flow ID for this project.
identifier: The unique identifier for the session.
status: The status of the liveness session (e.g., "active").
livenessResult: Any results from the liveness check (array).
comparisonResult: Any results from biometric comparisons (array).
generalInformation: Any general information related to the session (array).
expiresAt: The expiry timestamp for the session.
activatedAt: The activation timestamp for the session.
updatedAt: The last updated timestamp.
createdAt: The creation timestamp.
_id: The unique identifier for the liveness session.
biometricValidation: The data for the biometric validation itself.
client: The client ID for this validation.
project: The project ID for this validation.
projectFlow: The flow ID for this validation.
livenessSession: The associated liveness session ID.
status: The status of the biometric validation (e.g., "new").
type: The type of validation (e.g., "login").
url: A URL related to the biometric validation, typically for a liveness check.
livenessScore: The score from the liveness check.
assignedCollection: The collection ID assigned to this validation.
collectionCode: A unique collection code.
requires2FA: A boolean indicating whether the validation requires 2FA (Two-Factor Authentication).
createdAt: The creation timestamp for the validation.
updatedAt: The last updated timestamp for the validation.
_id: The unique identifier for the biometric validation.
token: A JWT token associated with the liveness session, containing an expiration timestamp and other information.
Ensure that the Authorization
token is valid and not expired.
The project
, projectFlow
, and identifier
fields are required for initiating the biometric validation.
The token
returned can be used for subsequent validation operations.
Status Code | Description |
---|---|
project
string
The unique identifier for the project.
Yes
projectFlow
string
The unique identifier for the project flow.
Yes
identifier
string
The unique identifier for the client (user) being validated.
Yes
type
string
The type of biometric validation (e.g., "login").
Yes
400
Bad Request. Invalid input parameters or missing fields.
401
Unauthorized. Invalid or missing authorization token.
500
Internal Server Error. An error occurred on the server.