🇨🇴 哥伦比亚 — 外国人 CE(Cédula de Extranjería)
端点
GET https://api.verifik.co/v2/co/foreigner-id/ce
在 query 中传入 documentNumber 与 expeditionDate(DD/MM/YYYY)。也可用 POST JSON 传入相同字段。
标头
| Name | Value |
|---|---|
| Accept | application/json |
| Authorization | Bearer <token> |
证件要求
适用对象: 在哥伦比亚合法居留、持有 Cédula de Extranjería(CE)的外国人。不适用于哥伦比亚公民(CC,使用 /v2/co/cedula)或委内瑞拉 PPT / 移民 PEP。
| 字段 | 说明 |
|---|---|
documentNumber | CE 号码,仅数字(无空格或标点)。在哥伦比亚 CE 通常为 6 或 7 位(可变长度)。示例:712046、1156043。 |
expeditionDate | 签发日期,格式 DD/MM/YYYY(如 15/06/2020)。必填 — 格式错误通常返回 409。 |
完整对照:身份证件指南。
参数
| name | type | required | description |
|---|---|---|---|
documentNumber | string | yes | CE 号码,仅数字。在哥伦比亚通常为 6–7 位。示例:712046、1156043。 |
expeditionDate | string | yes | 签发日期 DD/MM/YYYY(如 15/06/2020)。须与证件一致。 |
请求
- Node.js
- Python
import axios from "axios";
const { data } = await axios.get("https://api.verifik.co/v2/co/foreigner-id/ce", {
params: { documentNumber: "987654321", expeditionDate: "15/06/2020" },
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/ce"
headers = {"Accept": "application/json", "Authorization": f"Bearer {os.getenv('VERIFIK_TOKEN')}"}
params = {"documentNumber": "987654321", "expeditionDate": "15/06/2020"}
r = requests.get(url, headers=headers, params=params)
print(r.json())
响应
- 200
- 404
- 409
{
"data": {
"documentType": "CE",
"documentNumber": "987654321",
"status": "VIGENTE",
"fullName": "MARIA EJEMPLO PEREZ"
},
"signature": {
"message": "Certified by Verifik.co",
"dateTime": "April 20, 2026 10:00 AM"
},
"id": "CE01A"
}
{
"code": "NotFound",
"message": "Record not found."
}
{
"code": "MissingParameter",
"message": "expeditionDate must be a valid date in DD/MM/YYYY format"
}
备注
- 日期格式为
DD/MM/YYYY。 GET与POST行为一致。