Biometric Authentication Integration
Integration Guides (API v2)
Use this guide when your workflow runs Biometric Authentication, to compare a client's live selfie against a previously verified identity.
Biometric Authentication is typically used for returning clients. A newly captured selfie is compared against an identity established during an earlier identity verification workflow.
This guide extends the Identity Verification API v2 integration.
Before you begin
Make sure you have:
- API credentials for Sandbox and Production.
- A Biometric Authentication workflow configured.
- Handling for workflow statuses and Identity Verification product statuses.
- Optional: Webhooks.
Biometric Authentication results are reported under the IdentityVerification product. A workflow status of completed indicates that processing has finished, not that the biometric comparison succeeded. To determine the outcome, inspect the product status.
Returning clients
Biometric Authentication usually requires an existing Fourthline identity.
When the client previously completed Identity Verification with Fourthline, pass the existing clientId during workflow creation.
Important
If the client was not onboarded via Fourthline but you already have a verified selfie on file, you can upload it as a
referenceSelfieImage. Fourthline will use this as the reference identity for the biometric comparison instead of a previously verified Fourthline case.
Note
Use
partnerClientIdonly when your configuration supports creating or linking a client during the Biometric Authentication workflow.
1. Authenticate
Call Create access token and obtain a bearer token. Tokens are valid for 1 hour.
2. Create a workflow
Call Create workflow to create a Biometric Authentication workflow for an existing client.
In your request:
- Set
workflowto your configured Biometric Authentication workflow name. - Set
clientIdto the Fourthline client identifier from a previous successful Identity Verification. - Do not provide
partnerClientIdwhen usingclientId.
For example:
Returning client
{
"workflow": "BiometricsOnly",
"clientId": "fourthline-client-uuid"
}New or linked client
{
"workflow": "BiometricsOnly",
"partnerClientId": "your-partner-client-id"
}Store the workflowId and clientId returned in the response. You need these identifiers for subsequent API requests.
If your integration uses a reference selfie instead of an existing Fourthline identity, confirm the supported configuration and required uploads with your Fourthline delivery manager.
3. Capture biometric data
Choose how to capture the client's biometric data.
Option A: Mobile SDK or Web SDK
If you use an SDK:
- Call Create SDK session with the
workflowIdand the appropriatetarget(MobileorWeb). - Pass the returned
validationCodeto the SDK. - Let the client complete biometric capture.
The SDK automatically starts the workflow when capture is complete. You don't need to call Start workflow.
API reference: Create SDK session

Biometric Authentication SDK flow
Option B: API-only integration
If you manage capture in your application:
-
Capture the client's selfie.
-
Upload the selfie using Upload client document with
type: SelfieImage. -
Call Start workflow after uploading all required data.
Note
Do not call Start workflow until all required files and metadata have been uploaded.
The reference identity for comparison is determined by the clientId passed when creating the workflow — no additional upload is required for this.
Some configurations may require additional metadata or reference information.

Biometric Authentication API flow
4. Monitor workflow status
Monitor the workflow until it reaches a terminal state.
You can poll Get workflow status or receive webhooks.
If you use webhooks, call Get workflow status after receiving a notification to retrieve the latest workflow and product statuses.
5. Inspect the outcome
When the workflow reaches a terminal state, inspect the IdentityVerification product in the Get workflow status response.
Check:
products[].statusfor the product status.products[].messages[].statusCodefor additional information about the verification outcome.
A workflow status of completed means processing has finished. It does not necessarily mean the client was successfully onboarded.
Use the product status and associated status codes to determine the authentication outcome. See Product statuses.
6. Retrieve a report
Retrieve a report once the workflow completes.
Reports are available in JSON, ZIP, PDF, and XML formats. See Workflow reports.
Handle common errors
| Symptom | Likely cause | What to do |
|---|---|---|
HTTP 422 on Create workflow | Invalid workflow name or client reference | Verify the workflow name and confirm the client reference |
HTTP 400 on Start workflow | Required data is missing before capture is complete, for example IdentityVerification: selfie image required | Upload the missing file, then call Start workflow again. |
invalid_data product status | Missing or invalid metadata | Correct the data and create a new workflow if required |
Selfie mismatch status (3105, etc.) | The selfie does not match the reference identity | Create a new workflow and collect a fresh selfie. Biometric comparisons cannot be retried within the same workflow |
Support
For questions about your workflow configuration or signing setup, contact your Fourthline delivery manager.
Updated 3 days ago