TruIdentidad Integration Guide

Welcome to the TruIdentidad Integration Guide! Follow these steps to seamlessly integrate our face validation solution with Registraduria for secure and efficient user validation.


  1. Account Creation: In order to perform an integration in any of our services, you must have a Truora account. Your Truora sales representative will provide you with one, or you can create one for free.

  2. Create a Troura API Key: In order to perform an integration in any of our services, you must have a Truora API key. Follow this guide to create your Truora API key.

  3. Request Integration with Registraduria: Contact your Truora sales representative to request access to Registraduria integration. If you do not have a sales representative please Contact Us.

  4. Approval and Client ID: Your request should be evaluated and approved before continuing.

How are the Registraduria validations performed?

  1. Validation Initiation: The user clicks the Create Validation button on your frontend to initiate a validation request.
  2. Backend Processing: The validation request triggers backend processing to create the associated validation in the TruIdentidad API.
  3. TruIdentidad Web SDK: Pass the obtained ValidationID to the TruIdentidad Web SDK for Registraduria validation.
  4. Web Adapter Communication: The TruIdentidad Web SDK sends a request to the TruIdentidad Web Adapter, which communicates with the TruIdentidad API.
    validators result


The TruIdentidad solution will integrate via API, WEB, IOS and Android SDK allowing you to validate a user against Registraduria. For more details about integration, please visit the available guides.

API - Create Validation

  1. Create a POST request to Create Validation endpoint:
  2. Add the next headers
  3. Add the following params in the request body with their respective values
    • type : government
    • account_id : «value» Note that only Account IDs following the regex pattern [a-zA-Z0-9_.-]+ are supported. Please go to Create an Account ID to learn more about it.
  4. After the Validation is created, you will receive a response similar to the following, in JSON format:
    Response 200

Note: Please save the validation_id value from the response, as you will need it in subsequent steps.


  1. Follow the steps explained in the Create Validation section.
  2. Download and integrate the SDK using a script on your website. Below, we provide an example using HTML and JavaScript.
  • Note: The validation_id requested at this point refers to the validation_id obtained in the previous section Create Validation.
  1. Use the on_complete and on_expired events to know when to check the validation result. For more information on how to obtain the results, please refer to the Getting Results section later in this same guide.

Result Retrieval

General approach

  • Polling for Processing Status: The frontend component should perform polling to obtain the processing status of the validation.
  • Result Retrieval: Once processing is complete, your backend should make a call to obtain the result.
  • Display Results: Display success or failure views in your secure environment based on the obtained result.

Getting Results

Fetch validation current state. The validation_status can either be success or failure at the end of the validation. In the meantime, it will be pending.

  • Pending occurs when the validation is being processed.
  • Success occurs when the face was successfully recognized in the video.
  • Failure can occur due to an internal error, a timeout, or if the face recognition is declined.

Note: You need the validation_id from the Create Validation request.

Results can be obtained by either Dashboard, or doing Polling; all processes are explained below.

Polling - Get Validation

  1. Create a GET request to Create Validation endpoint:{validation_id}.
  2. Add the next headers
    • Truora-API-Key : «truora api key» Get a Truora API key.
    • Content-Type : application/x-www-form-urlencoded
  3. Add the following path params in the request with their respective values
    • validation_id : «value»

Note: The validation_id requested at this point refers to the validation_id obtained in the Create Validation request.

  1. You will receive a response similar to the following, in JSON format:
    Response 200
  • Please note that this validation will only inform you whether it is successful or not. No user information will be provided.

Front (Dashboard)

  1. From the Truora’s Dashboard you can filter the results of a Validation by the validation_id. This is a unique identifier assigned to each Validation.
  2. To see the result of each validation you need to go to Digital Identity Verification > Validation Results.
    di dashboard
  3. This will redirect you to a dashboard where you can review the results of the validations performed by your users.
    validators result

User Validation Journey

The following flow illustrates the steps a user must take once they access the identity validation required by your entity to access your products or services. The process consists of the following steps:

  1. Introduction to provide clarity of the process to the user.
  2. Data Processing Policy screen.
    validators result
  3. Permission acceptance to access geolocation data.
    validators result
  4. Screens for acquiring video for the purpose of performing a liveness test.
    validators result
  5. Validation result screen.
    validators result
  • Note: In the case of Web SDK integration, the user will be given the option to complete the process from a desktop or a mobile device.