The Paraguay Citizen Iinformation service allows you to effortlessly retrieve essential information from Paraguay's Citizen Identification Cards. By leveraging this service, you can efficiently obtain verified data associated with a specific CIC, enabling various identity verification and data processing applications.
Parameters
Name |
Type |
¿Required? |
Description |
Example |
documentNumber |
String |
True |
Document number of the person to be queried. |
1234567 |
Implementation
Request
import axios from 'axios';
const options = {
method: 'GET',
url: '<https://api.verifik.co/v2/py/cic>',
params: {documentNumber: '1234567'},
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": "CICPY",
"firstName": "MATEO",
"fullName": "MATEO VERIFIK",
"lastName": "VERIFIK"
},
"signature": {
"dateTime": "May 29, 2024 3:09 PM",
"message": "Certified by Verifik.co"
},
"id": "6BJW5"
}
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" |
|
|
|
} |
|
|
|