Liveness + Validation (1:1) + Identity Verification + Behavior Alert
In this section, you will find the specifics of creating a process that includes Liveness + 1:1 Validation + Behavior Alert as capabilities.
Introduction
In this section, you will find detailed documentation on the operation of the endpoint related to the capabilities Liveness + 1:1 Validation + Identity Verification + Behavior Alert, used together.
These are three synchronous capabilities, meaning the entire integration takes place using a single endpoint.
The capabilities of the Unico IDCloud platform via by Client are managed through API Keys - used as a parameter in the request header - which define the scope of access. As a prerequisite, it is necessary to have an API Key configured with the Liveness + 1:1 Validation + Identity Verification + Behavior Alert capabilities, ensuring dedicated and secure access to the resource.
Getting started
Your API requests are authenticated using an access token. Any request that does not include a valid access token will return an error.
You can learn more about generating an access token here.
CreateProcess
Endpoint to create a new process for Liveness + 1:1 Validation by Client.
Valid access token.
Valid APIKEY with the capabilities Liveness + 1:1 Validation + Identity Verification + Behavior Alert enabled.
Identifier of the process generated during the biometric transaction creation, whose photo will be used for comparison.
80371b2a-3ac7-432e-866d-57fe37896ac6The ID of the branch where the process will be created. If there is only one branch associated with the service account, this parameter is not required. If there is a separation of processes by branch, you will receive the branch IDs from the Unico team.
60837cd3-ed3c-4038-ad7c-0a85ad64b03aEncrypted file generated by the SDK or base64 (if not using Liveness).
/9j/4AAQSkZJR...Process created successfully (User authenticated).
Invalid payload.
Unexpected error (internal error or parameter issue).
POST /processes/v1 HTTP/1.1
Host: api.id.uat.unico.app
Authorization: text
APIKEY: text
Content-Type: application/json
Accept: */*
Content-Length: 252
{
"subject": {
"code": "12345678909",
"name": "Luke Skywalker",
"email": "[email protected]",
"phone": "551972557070"
},
"referenceProcessId": "80371b2a-3ac7-432e-866d-57fe37896ac6",
"subsidiaryId": "60837cd3-ed3c-4038-ad7c-0a85ad64b03a",
"imageBase64": "/9j/4AAQSkZJR..."
}{
"id": "80371b2a-3ac7-432e-866d-57fe37896ac6",
"biometryToken": {
"result": true
},
"unicoId": {
"result": "inconclusive"
},
"identityFraudsters": {
"result": "yes"
},
"liveness": 1
}Important:
To use the liveness capability, it is essential to use our SDKs:
It is possible to use the Validation (1:1) capability without liveness. In this use case, we will not return the
livenessparameter in the API response. In this scenario, there is no validation of the liveness, not even passive;When using Validation (1:1) with other capabilities, it is always necessary to consider the returns separately.
If an error occurs during processing, the process will return a
status = 5, as shown in the example below:
{
"id": "80371b2a-3ac7-432e-866d-57fe37896ac6",
"status": 5
}Tips:
For this use case, there is no need to Query the Process Result, as the response is synchronous;
For more information about possible errors for this endpoint, refer to the Errors section.
Still need help?
Didn't find something or still need help? If you're already a client or partner, you can reach out through our Help Center.
Last updated