🇬🇹Guatemala

Service to query Salvadoran citizens using the DUI (Unique Identity Document).

Guatemalan Citizen Information

GET - https://api.verifik.co/v2/gt/cedula

This endpoint allows you to verify the validity of a Guatemalan ID by providing the CUI document type and the document number. The response confirms whether the ID is valid and provides details related to the document.

To use this service in a graphical interface, we invite you to enter our Verifik client panel.

Implementation

Headers

NameValue

Content-Type

application/json

Authorization

Bearer <token>

Query Parameters

NameTypeRequired?DescriptionExample

documentNumber

String

True

Document number of the person to consult.

123456789

documentType

String

True

Type of document to consult. Allowed parameter: CUI.

CUI

Request

import axios from 'axios';

const options = {
  method: 'GET',
  url: '<https://api.verifik.co/v2/gt/cedula>',
  params: { documentNumber: '123456789', documentType:'CUI'},
  headers: {
    Accept: 'application/json',
    Authorization: 'jwt <tu_token>'
  }
};

try {
 notFou const { data } = await axios.request(options);
  console.log(data);
} catch (error) {
  console.error(error);
}

Response

{
    "data": {
        "arrayName": [
            "MATEO",
            "VERIFIK"
        ],
        "documentNumber": "12345678909876",
        "documentType": "CUI",
        "firstName": "MATEO",
        "fullName": "MATEO VERIFIK",
        "lastName": "VERIFIK"
    },
    "signature": {
        "dateTime": "July 3, 2024 3:24 PM",
        "message": "Certified by Verifik.co"
    },
    "id": "YOESE"
}

Last updated