NEGATIVE CRIMINAL CERTIFICATE
Description​
Consultation with the database of the Federal Regional Courts, which gathers information from criminal lawsuits in the process and/or executions in the 1st and 2nd degree.
HTTP method GET​
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 |
---|---|---|---|
CPF | ✅ | string | Brazilian id 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": "c824b59769fec973",
"timestamp": "2024-06-27 08:55:04",
"data": {
"Class": "Procedimento Comum",
"Subject": "Rescisão do contrato e devolução do dinheiro",
"date_of_receipt": "2016-09-17T16: 36: 09.461Z",
"instance": "1",
"value": 300000,
"action": "Procedimento Comum",
"nature": "Procedimento Comum",
"situation": "julgado",
"assistance": false,
"preferential_processing": false,
"date_of_judgment": "2016-09-17T16: 36: 09.461Z",
"distribution_date": "2016-09-17T16: 36: 09.461Z",
"impediment": true,
"trial_date": "2016-09-17T16: 36: 09.461Z",
"observations": "Sem informações adicionais.",
"initial_petition": "987234K-UYS",
"secret": true,
"confidential": false,
"judge": "Cássia Maria do Nascimento"
}
}
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."
}
Response 401 status code​
{
"timestamp": "YYYY-MM-DDTHH:mm:ss.sssZ",
"status": 401,
"error": "Unauthorized",
"path": ""
}
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
}