The Colombian Foreigner ID (CE) Data Retrieval API enables you to effortlessly retrieve essential information from Colombian Foreigner Identification Cards. With this API, you can efficiently obtain verified data associated with a specific CE, facilitating various identity verification and data processing applications.

Parameters

Name Type ¿Required? Description Example
documentNumber String True Document number of the person to consult, without spaces or periods. 123456789
expeditionDate
String True Expedition date of the document. Valid format: DD/MM/YYYY. 10/10/2022

Implementation

Request

import axios from 'axios';

const options = {
  method: 'GET',
  url: '<https://api.verifik.co/v2/co/foreigner-id/ce>',
  params: {documentNumber: '123456789', expeditionDate: '10/10/2024'},
  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": "123456789",
    "documentType": "CE",
    "expirationDate": "07/03/2017",
    "firstName": "MATEO",
    "fullName": "MATEO VERIFIK",
    "lastName": "VERIFIK",
    "status": "VENCIDO"
  },
  "signature": {
    "dateTime": "August 22, 2023 5:44 PM",
    "message": "Certified by Verifik.co"
  },
  "id": "har4z"
}

Other responses

Code Description Response 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 expeditionDate\n. missing documentNumber\n" } |