Skip to main content
POST
/
co
/
policia
/
criminal-records
/
v1
Policía Criminal Records
curl --request POST \
  --url https://api.croma.run/co/policia/criminal-records/v1 \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "document_number": "1234567890"
}
'
{
  "data": {
    "document_type_label": "<string>",
    "document_number": "<string>",
    "full_name": "<string>",
    "has_records": true,
    "status": "<string>",
    "message": "<string>",
    "checked_at": "<string>"
  }
}

Authorizations

Authorization
string
header
required

Use Authorization: Bearer YOUR_API_KEY

Headers

Prefer
string

Set wait=N to hold the connection up to N seconds for an inline result. If the job finishes in time you get the normal 200 body; otherwise a 202 with a status_url to poll.

Example:

"wait=30"

Body

application/json
document_number
string
required

Document number (alphanumeric with hyphens allowed).

Required string length: 3 - 30
document_type
enum<string>
default:CC

Colombian document type. Defaults to CC.

Available options:
CC,
CE,
PA,
DPO
callback_url
string<uri>

POST the job result here when it finishes.

Response

Successful response

data
object
required