Navigate to FaceMatch

Once you have fetched a valid session token, you can navigate the user to FaceMatch.

FaceMatch URL

If your user is on mobile, you can open FaceMatch in a webview or redirect the user to the FaceMatch url. If your user is on desktop, FaceMatch will recognize this and display a QR so that the user can complete on mobile.

When integrating into a mobile app it is recommended to open FaceMatch in a webview. See Best Practices & Tips for more

The FaceMatch url is https:app.prod.verisoul.ai/ and takes a three query parameters:

On Completion

Once the FaceMatch session is complete, the user will be sent to the redirect_url configured in the query parameters above; by default, FaceMatch redirects to https://verisoul.ai.

The completed redirect URL will contain the following parameters:

Error Handling

Error messages can include:

  • invalid_session_id: The session token provided is expired or invalid

  • session_id_not_found: No session token was provided

  • failed_to_get_camera_permission: The user did not agree to give the browser camera permissions

  • failed_to_complete_face_scan: The user was not able to complete the face scan process (clicked away from window context, etc.)

  • liveness_check_failed: The user did not pass liveness verification

It is recommended to parse the error_message and prompt the user to restart the FaceMatch process.

To let a user retry, you will need to fetch a new session token.

*Note - for more details on how to maximize user conversion rates: Best Practices & Tips

Last updated