The El Salvador DUI Information Lookup service allows you to effortlessly retrieve personal information associated with a DUI (Unique Identity Document) by using the document number. This service provides reliable and efficient access to essential details related to an individual's identity.
Parameters
Name |
Type |
¿Required? |
Description |
Example |
documentNumber |
String |
True |
Document number of the person to consult, without spaces or points. |
123456789 |
dateOfBirth |
String |
True |
Date of birth of the requested person. Valid format: DD/MM/YYYY |
01/12/1995 |
Implementation
Request
import axios from 'axios';
const options = {
method: 'GET',
url: '<https://api.verifik.co/v2/sv/dui>',
params: {documentNumber: '123456789',dateOfBirth:'01/12/1995'},
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"
],
"dateOfBirth": "1996-08-06",
"documentNumber": "1234567890",
"documentType": "DUISV",
"firstName": "MATEO",
"fullName": "MATEO VERIFIK",
"lastName": "VERIFIK"
},
"signature": {
"dateTime": "May 29, 2024 3:11 PM",
"message": "Certified by Verifik.co"
},
"id": "2Z9GQ"
}
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 documentNumber\n" |
|
|
|
} |
|
|
|
409 |
Conflict |
Invalid format in the day of birth. |
{ |
"code": "MissingParameter", |
|
|
|
"message": "dateOfBirth format required: DD/MM/YYYY\n" |
|
|
|
} |
|
|
|