Create Biometric Validation
Description
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.
URL
https://api.verifik.co/v2/biometric-validations
Method
POST
Request Body Parameters
Example Request
Example Node.js (Axios) Request
Example Response
Response Details
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.
Error Responses
Notes
Ensure that the
Authorization
token is valid and not expired.The
project
,projectFlow
, andidentifier
fields are required for initiating the biometric validation.The
token
returned can be used for subsequent validation operations.
Last updated