REST API

Rest Api for Backend or custom integrations

Andia recommend to use our SDKs to verify your users, liveness detection and easy way to integrate our UI/UX. But if for some reasons you can't use our SDKs, we have an official API where you can send us your users' data that we will verify.

How to use the Rest API

1) Onboarding new customers

Andia stores the Biometrics Vectors from a Selfie that is taken during on-boarding process or with a picture that currently exists. This method returns a unique user identifier (user_id), with which one-to-one validations will be carried out later.

2) Validations

Andia can verify if a Selfie taken corresponds to an existing user_id (A user who has previously been onboarded) or not.

post
Register new customer

https://api.andia.io/v1/register_new_customer
This endpoint store the Biometric vectors from new users and generate a unique user_id
Request
Response
Headers
Content-Type
required
string
application/json
Authentication
required
string
Your API_KEY
Form Data Parameters
selfie
optional
object
Selfie image file (jpg format) Recommended size less than 512 Kb
Body Parameters
selfie64
optional
string
Base 64 jpg Image (Required if selfie file is not provided) Recommended size less than 512 Kb
200: OK
{
"success": true,
"error_code": 0,
"error": "",
"message": "success",
"user_id": "fb61986b-8208-4b9b-b4d5-49eb1178cdcd"
}

post
Validation

https://api.andia.io/v1/validate_transaction
This endpoint compare an existing user_id against a Selfie
Request
Response
Headers
Content-Type
required
string
application/json
Authentication
required
string
Your API_KEY
Form Data Parameters
selfie64
optional
string
Base 64 JPG Image Required if selfie file is not provided Recommended size less than 512 Kb
user_id
required
string
An existing user identifier
selfie
optional
object
Selfie image file (jpg format) Recommended size less than 512 Kb
200: OK
Cake successfully retrieved.
{
"success": true,
"error_code": 0,
"error": "",
"message": "It is a Match"
}