🇨🇴Retrieve Voting Information for Colombian Citizens

Service to check a citizen's voting location using their national ID.

Retrieve Voting Information for Colombian Citizens

POST /users

The Voting Information service allows you to retrieve voting details from the “Registraduría Nacional del Estado Civil” for Colombian citizens. By providing the citizen’s document number, you can access information such as their address, department, municipality, polling table, and voting station.

This service is valuable for verifying voter registration and facilitating the voting process.

Implementation

Headers

NameValue

Content-Type

application/json

Authorization

Bearer <token>

Query Parameters

NameTypeRequired?DescriptionExample

documentNumber

String

True

Document number of the person to consult, without spaces or points.

123456789

Request

import axios from 'axios';

const options = {
  method: 'GET',
  url: '<https://api.verifik.co/v2/co/registraduria/votacion>',
  params: {documentNumber: '123456789'},
    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": {
    "NUIP": "1234567890",
    "address": "CRA 9 A # 18-74 SUR",
    "department": "BOGOTA D.C.",
    "documentNumber": "1234567890",
    "municipality": "BOGOTA. D.C.",
    "pollingTable": "3",
    "votingStation": "SOSIEGO"
  },
  "signature": {
    "dateTime": "May 24, 2023 2:37 PM",
    "message": "Certified by Verifik.co"
  }
}

Last updated