🇨🇱Chile

This service allows you to verify the authenticity of the Chilean RUN (National Unique Role) document. Simply enter the RUN number, and you will receive a response with the full name, first name, last name, and name array of the cardholder, along with the verification signature.

This service can be used by companies or individuals to ensure the validity of the Chilean RUN for various purposes, such as employment, financial transactions, or legal requirements.

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

Parameters

NameType¿Required?DescriptionExample

documentType

String

True

Document type. Allowed parameter: RUN.

RUN

documentNumber

String

True

Document number of the person to consult without spaces.

212957739

Implementation

Request

import axios from 'axios';

const options = {
  method: 'GET',
  url: '<https://api.verifik.co/v2/cl/cedula>',
  params: {documentType: 'RUN', documentNumber: '212957739'},
  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 200 - (Successful response)

{
    "data": {
       "arrayName": [
      "MATEO",
      "VERIFIK"
    ],
        "documentNumber": "12.345.678-9",
        "documentType": "RUN",
        "fullName": "MATEO VERIFIK",
        "firstName": "MATEO",
        "lastName": "VERIFIK",
    },
    "signature": {
        "dateTime": "March 12, 2024 4:39 PM",
        "message": "Certified by Verifik.co"
    },
    "id": "QS1JN"
}

Other responses

CodeDescriptionResponse Body

404

Not Found

Information not found.

{

"code": "NotFound",

"message": "Record not found.",

"signature": {

"dateTime": "August 31, 2022 3:24 PM",

"message": "Certified by Verifik.co"

}

}

409

Conflict

Some parameters are missing.

{

"code": "MissingParameter",

"message": "missing documentType\n. missing documentNumber\n"

}

409

Conflict

Invalid documentType for this query.

{

"code": "MissingParameter",

"message": "documentType must be one of: [RUT]"

}

Last updated