The Sena Certificates service allows developers to access certification data for individuals who have completed courses with the Servicio Nacional de Aprendizaje (SENA) in Colombia. By providing the document type and number of the individual, this service returns detailed information about their certificates. The response includes the title, type, program, certification date, and a download link for each certificate obtained by the individual.

Parameters

Name Type ¿Required? Description Example
documentType String True Document type. Valid parameters: CC, TI, CE, PA, RC, PEP. CC
documentNumber String True Document number of the person to consult, without spaces or points. 123456789

Implementation

Request

import axios from 'axios';

const options = {
  method: 'GET',
  url: '<https://api.verifik.co/v2/co/sena/certificados>',
  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": [
    {
      "record": "9214001680795CC1023942104C",
      "title": "CURSO ESPECIAL EN",
      "type": "Certificado Aprobación",
      "program": "SOLDADURA CON PROCESO GMAW EN UNIONES 1F Y 2F",
      "certificationDate": "25 Junio, 2018",
      "certificationSignature": "27 Junio, 2018",
      "certificateDownload": "<https://certificados.sena.edu.co/guardar.asp?var1=url>"
    },
    {
      "record": "9214001680795CC1023942104E",
      "title": "CURSO ESPECIAL EN",
      "type": "Certificado de Notas",
      "program": "SOLDADURA CON PROCESO GMAW EN UNIONES 1F Y 2F",
      "certificationDate": "25 Junio, 2018",
      "certificationSignature": "27 Junio, 2018",
      "certificateDownload": "<https://certificados.sena.edu.co/guardar.asp?var1=url>"
    }
  ]
}

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]" } |