Digital Identity (DI) verification confirms that your users are who they say they are. Vlens performs OCR on the Egyptian national ID (front + back), runs passive liveness detection using three face images, and optionally validates against NTRA and CSO authority databases.
The user completed all three capture steps and the OCR data passed Vlens internal checks.
isVerificationProcessCompleted: true
Validated plus NTRA and CSO authority checks both passed.
isDigitalIdentityVerified: true
Whether NTRA and CSO checks are required depends on your tenant configuration. If both are disabled, a user is marked Verified as soon as all three capture steps pass.
All three capture steps share a single transaction_id. The ID is returned in the first step’s response and must be passed to every subsequent step.
You may submit id/front or id/back in any order, but both must complete before liveness.
The user must be registered before calling the verification endpoints. Registration returns a user access token — use it as Authorization: Bearer <token> for all verification calls.
See the Quick Start for the registration steps.
Save data.idFrontData.transaction_id — you need it for steps 2 and 3.
Fields extracted from the front:
Additional fields from the back:
All three images must be captured within 0.5 seconds of each other. Identical images or images captured too far apart will fail the liveness check. Compress each image to under 500 KB for best performance.
Success response:
If your app captures the national ID before the user logs in (using API-key-only calls), you can link the completed transaction to the user after login instead of repeating the capture flow.
When to use this: The client performs OCR using only the ApiKey while the user is not yet authenticated. After login, call this endpoint to associate the completed verification with the user’s account — no re-capture needed.
Each response includes a services object with results from the backend checks:
Admins with the Requests permission can retrieve stored identity images for audit or support: