> ## Documentation Index
> Fetch the complete documentation index at: https://docs.usecroma.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Policía Nacional

> Check whether a person has pending judicial matters with Colombia's Policía Nacional by document type and number: the online criminal-record lookup.

Checks the Policía Nacional online record to determine whether a person has
pending judicial matters, by document type and number.

`POST /co/policia/criminal-records/v1`

| Field | Type | Notes |
| - | - | - |
| `document_type` | enum | One of `CC`, `CE`, `PA`, `DPO`. Defaults to `CC`. Default `CC`. |
| `document_number` | string | **Required.** Document number. Digits only for CC; letters, digits and hyphens for CE, PA and DPO. |

```bash theme={"dark"}
curl https://api.croma.run/co/policia/criminal-records/v1 \
  -H "Authorization: Bearer $CROMA_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{ "document_number": "1234567890" }'
```

| Field | Notes |
| - | - |
| `document_type` | The queried document type, echoed back. |
| `document_type_label` | Human label, e.g. `Cédula de Ciudadanía`. |
| `document_number` | The queried number, echoed back. |
| `full_name` | Full name as registered, or `null` when the source omits it. |
| `has_records` | `false` = no pending judicial matters; `true` = records / pending matters registered. |
| `status` | The verbatim verdict sentence from the source. |
| `message` | Full plain-text result message. |
| `checked_at` | Consultation timestamp the source prints, or `null`. |

<Note>
  This endpoint is **asynchronous**: it answers `202` with a `status_url` to
  poll, or blocks up to the inline-wait budget (`Prefer: wait=N`). Pass an
  optional `callback_url` to have the result POSTed to you when it finishes.
  See the async-jobs guide.
</Note>

<Card title="Full reference" icon="code" href="/api-reference/overview">
  Schemas, all response fields, and an interactive playground.
</Card>


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.