Demographic Information
Descriptionβ
IDV solution that provides demographic information from any citizen in Chile.
HTTP method POSTβ
info
Before proceeding, make sure you have your jwt token, if you don't, check the login documentation.
Request header parameterβ
NAME | REQUIRED | TYPE | DESCRIPTION |
---|---|---|---|
Authorization | β | string | bearer jwt token |
URI request parameterβ
NAME | REQUIRED | TYPE | DESCRIPTION |
---|---|---|---|
Document number | β | string | Chilean identification data by means of the identity document plus the verification digit. |
Status code responsesβ
Code | Description |
---|---|
200 | OK |
400 | Bad request |
401 | Unauthorized |
404 | Not found |
500 | Internal server error. |
The full documentation error codes can be found here.
Response 200 status codeβ
{
"traceId": "c824b59769fec973",
"timestamp": "2024-06-27 08:55:04",
"data": {
"typeId": "10425263",
"name": "GONZALEZ SALDAοΏ½A JORGE",
"sex": null,
"nacionality": "CHILE",
"deceased": null,
"maritalstatus": "Soltero",
"address": "HELIOTROPOS 034 LA CISTERNA REGIοΏ½N METROPOLITANA DE SANTIAGO",
"phone": null,
"email": null
}
}
Response 400 status codeβ
Scenario 1:β
{
"traceId": "76b3e0a80adc6585",
"timestamp": "2024-04-04 17:25:44",
"code": "IDV-3001",
"message": "Provider error, contact with the administrator.",
"data": null
}
Note: Error in the source of origin, please contact an administratorβ
Scenario 2:β
{
"traceId": "0829a4407237096a",
"timestamp": "2024-06-25 09:02:15",
"code": "IDV-1002",
"message": "Data not found."
}
Note: Ensure that the request contains the necessary data and try again.β
Response 500 status codeβ
{
"traceId": "86c6eda02b615604",
"timestamp": "2024-01-09 15:44:32",
"code": "IDV-1008",
"message": "Error in the source of origin, please contact an administrator!",
"data": null
}