Onboarding
In this section, you will find how to create a Onboarding process in the by Client Integration
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.
Endpoint to create a new Onboarding process in by Client integration.
A valid APIKEY.
A valid access-token.
Use case of the operation.
OnboardingThe 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-0a85ad64b03aUser's selfie in base64.
/9j/4AAQSkZJR...Process successfully created.
Invalid payload.
Unexpected error (Internal error or parameter issue).
You can use your country's unique identifier. For example: CPF (Brazilian), CURP (Mexican), NIK (Indonesian), NIN (Nigerian), etc.
Important:
If status = 3, consider the response from the idCloud.result parameter;
If an error occurs in the biometrics process, the request will return a status
code = 200and the process will have astatus = 5, as in the following example:
Error Responses
20807
The image must be in HD standard or have a resolution greater than 640 x 480.
The resolution of the uploaded image is too small.
20507
The subject.code field is invalid.
Non-standard or non-existent identifier.
20506
The base64 file you provided is too large. The maximum supported size is up to 800kb.
The image is too large. The image can be compressed to JPEG92 without loss of quality.
20505
The specified base64 is not supported. Accepted formats are png, jpeg, and webp.
Invalid base64. Possible causes: not a valid image or invalid prefix.
20009
The imagebase64 field
is missing.
The imagebase64 parameter, which contains the person's selfie, is missing.
20005
The subject.code field
is missing.
The subject.code parameter, which contains the person's identifier, is missing.
20003
The request body is missing or invalid.
Null or invalid payload.
20002
The APIKEY header is missing.
The APIKEY parameter is missing from the request header.
20001
The authorization token is missing.
The integration token parameter is missing from the request header.
10201
The APIKEY header is invalid.
The APIKEY parameter has not been entered or does not exist.
30017
Jwt header is an invalid JSON.
When the access-token used contains wrong characters.
10502
The token informado está expirado.
When the access-token used has expired.
10501
The authorization token is invalid.
The authentication token is invalid.
99999
Internal failure! Try again later
When there is an internal error.
Last updated