🇨🇴 Colombie — PPT (protection temporaire)
Point d'accès
GET https://api.verifik.co/v2/co/foreigner-id/ppt
documentNumber et expeditionDate (DD/MM/YYYY). POST JSON équivalent.
En-têtes
| Name | Value |
|---|---|
| Accept | application/json |
| Authorization | Bearer <token> |
Paramètres
| name | type | required | description |
|---|---|---|---|
documentNumber | string | yes | Numéro PPT sans espaces. |
expeditionDate | string | yes | Date d’émission JJ/MM/AAAA. |
Requête
- Node.js
- Python
import axios from "axios";
const { data } = await axios.get("https://api.verifik.co/v2/co/foreigner-id/ppt", {
params: { documentNumber: "123456789", expeditionDate: "07/03/2022" },
headers: {
Accept: "application/json",
Authorization: `Bearer ${process.env.VERIFIK_TOKEN}`,
},
});
console.log(data);
import os, requests
url = "https://api.verifik.co/v2/co/foreigner-id/ppt"
headers = {"Accept": "application/json", "Authorization": f"Bearer {os.getenv('VERIFIK_TOKEN')}"}
params = {"documentNumber": "123456789", "expeditionDate": "07/03/2022"}
r = requests.get(url, headers=headers, params=params)
print(r.json())
Réponse
- 200
- 404
- 409
{
"data": {
"documentType": "PPT",
"documentNumber": "2081381",
"status": "VIGENTE",
"fullName": "JUAN MIGUEL CAMERO MORALES"
},
"signature": {
"message": "Certified by Verifik.co",
"dateTime": "May 13, 2025 11:52 PM"
},
"id": "JD24J"
}
{
"code": "NotFound",
"message": "Record not found."
}
{
"code": "MissingParameter",
"message": "expeditionDate must be a valid date in DD/MM/YYYY format"
}
Remarques
- Format de date
DD/MM/YYYY. GETetPOSTidentiques.- Indisponibilité amont possible (404 / 500).