Skip to main content

ContralorΓ­a Certificate

API Reference​

Endpoint​

https://api.verifik.co/v2/co/contraloria/certificado

The service lets you verify the certificate of good conduct issued by the ContralorΓ­a General de Colombia by entering the document type and number, and returns the query date together with the certificate as a base64-encoded PDF. This service is ideal for quickly confirming the good standing status of a Colombian company or individual.

Headers​

NameValue
Acceptapplication/json
AuthorizationBearer <token>

Parameters​

info

For the complete list of supported Document Types and their specific mandatory parameters, please visit the Document Types guide.

NameTypeRequiredDescription
documentTypestringYesType of document. Valid parameters: CC, CE, PA, PEP.
documentNumberstringYesDocument number of the person to consult, without spaces or points.

Request​

import axios from 'axios';

const options = {
method: 'GET',
url: 'https://api.verifik.co/v2/co/contraloria/certificado',
params: {documentType: 'CC', documentNumber: '123456789'},
headers: {
Accept: 'application/json',
Authorization: 'Bearer <your_token>'
}
};

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

Response​

{
"data": {
"documentType": "CC",
"documentNumber": "1020729123",
"searchDate": "2022-03-22T15:37:23.487Z",
"pdfBase64": "data:application/pdf;base64,STRING_BASE_64"
},
"signature": {
"dateTime": "March 22, 2022 4:37 AM",
"message": "Certified by Verifik.co"
}
}