Receita federal people
Descriptionβ
Receita Federal is responsible for issuing and managing the Natural Persons Register. This query obtains public data from the Natural Persons Register (CPF).
HTTP method GETβ
Endpointβ
http://apidev3.mslainternational.com/lexisnexis/api/idv-govcheck/v1/br-cpf/validate
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 |
---|---|---|---|
documentNumber | β | string | Brazil identity document number. |
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": "7e6351f7bdbc81f6",
"timestamp": "2024-10-17 13:06:25",
"data": {
"errorMessage": null,
"errorCode": null,
"documentNumber": "05029443401",
"names": "DANIEL CIRINO DE FREITAS PATRIOTA",
"situation": {
"code": "0",
"description": "Regular"
},
"birthDate": "15101986"
}
}
Response 404 status codeβ
{
"traceId": "542fc743fffda052",
"timestamp": "2023-05-05 11:20:46",
"code": "IDV-3001",
"message": "Data not found"
}
Response 400 status codeβ
{
"traceId": "542fc743fffda052",
"timestamp": "2023-05-05 11:20:46",
"code": "IDV-3001",
"message": "Bad request - Invalid or incomplete input data",
"data": null
}
Response 500 status codeβ
{
"traceId": "43a20f33d4e8730d",
"timestamp": "yyyy-mm-dd HH:MM:SS",
"code": "IDV-1008",
"message": "Error in the source of origin, please contact an administration."
}