The Colombian Military Status Check service enables the verification of an individual's military status in Colombia. By providing a national identification number and type, users can obtain details about the individual's current military status, including rank and district military office.

This service is useful for government agencies, employers, or organizations needing to confirm an individual’s military status in Colombia.

Parameters

Name Type ¿Required? Description Example
documentType String True Document type. Allowed parameter: CC. CC
documentNumber String True Document number to consult, without spaces or points. 123456789

Implementation

Request

import axios from 'axios';

const options = {
  method: 'GET',
  url: '<https://api.verifik.co/v2/co/situacion-militar>',
  params: {documentType: 'CC', 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 200 - (Successful response)

{
  "data": {
    "Name": "MATEO VERIFIK",
    "State": "Reservista - 2da Clase",
    "DateText": "stri",
    "PlaceText": "Distrito Militar No. 001",
    "AdressText": "Carrera 11B 104A - 64 Barrio Santa Paula (Bogotá, D.C. - 01 Localidad - Usaquén)"
  },
  "signature": {
    "dateTime": "June 28, 2022 10:00 AM",
    "message": "Certified by Verifik.co"
  }
}

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 documentType\n. missing documentNumber\n" } | | 409 | Conflict | Invalid documentType for this query. | { "code": "MissingParameter", "message": "documentType must be one of: [CC]" } |