🇨🇴 Colombie — Casier judiciaire (expedientes)
Point d'accès
GET https://api.verifik.co/v2/co/rama/juzgado/expedientes
Envoyez documentType (CC uniquement), documentNumber et city en query (ex. BOGOTA).
En-têtes
| Name | Value |
|---|---|
| Accept | application/json |
| Authorization | Bearer <token> |
Paramètres
| name | type | required | description |
|---|---|---|---|
documentType | string | yes | CC seulement. |
documentNumber | string | yes | Numéro à interroger. |
city | string | yes | Code ville/circuit (ex. BOGOTA, MEDELLIN). |
Requête
- Node.js
- Python
import axios from "axios";
const { data } = await axios.get("https://api.verifik.co/v2/co/rama/juzgado/expedientes", {
params: { documentType: "CC", documentNumber: "1234567890", city: "BOGOTA" },
headers: {
Accept: "application/json",
Authorization: `Bearer ${process.env.VERIFIK_TOKEN}`,
},
});
console.log(data);
import os, requests
url = "https://api.verifik.co/v2/co/rama/juzgado/expedientes"
headers = {"Accept": "application/json", "Authorization": f"Bearer {os.getenv('VERIFIK_TOKEN')}"}
params = {"documentType": "CC", "documentNumber": "1234567890", "city": "BOGOTA"}
r = requests.get(url, headers=headers, params=params)
print(r.json())
Réponse
- 200
- 404
{
"data": {
"documentType": "CC",
"documentNumber": "1234567890",
"city": "BOGOTA",
"courtOfepms": "EPMS EXAMPLE",
"filingNumber": "2024-000123"
},
"signature": {
"message": "Certified by Verifik.co",
"dateTime": "March 3, 2022 3:55 PM"
},
"id": "ABC12"
}
{
"code": "NotFound",
"message": "Record not found."
}
Remarques
- L’API n’accepte que
documentType=CC. citydoit être une valeur prise en charge par l’intégration.