哥伦比亚 — 化学工程执照(CPIQ)
CPIQ 执照查询读取 Consejo Profesional de Ingeniería Química。发送 documentNumber 或 licenseNumber。该模块不按姓名检索:只发送 fullName 会返回 HTTP 409,代码 MissingParameter,消息为 Either documentNumber or licenseNumber must be provided。命中包含执照、决议、状态和处分字段。
调用返回的内容
licenseNumber与resolutionNumberstatus与isActivesanctionType与hasSanctions
使用场景
- 用身份证或 CPIQ 执照核验化学工程师。
- 在到达理事会之前拒绝仅姓名的检索。
- 读取理事会公布的处分日期。
API 参考
Endpoint
GET https://api.verifik.co/v2/co/cpiq
命中包含 fullName、licenseNumber、resolutionNumber、status、sanctionType、isRegistered 和 hasSanctions。CPIQ 没有记录时为 404 NotFound。
Headers
| 名称 | 值 | 说明 |
|---|---|---|
| Content-Type | application/json | 请求格式 |
| Accept | application/json | 响应格式 |
| Authorization | Bearer <token> | 客户端 JWT |
Parameters
| 名称 | 类型 | 必填 | 示例 | 说明 |
|---|---|---|---|---|
documentNumber | string | 条件必填 | 79876543 | 身份号码。省略 licenseNumber 时必填。只发送 fullName 会返回 409。 |
licenseNumber | string | 条件必填 | PQ-10293 | CPIQ 专业执照号。省略 documentNumber 时必填。 |
Request
- Node.js / JavaScript
- Python
- cURL
import axios from "axios";
const options = {
method: "GET",
url: "https://api.verifik.co/v2/co/cpiq",
params: {
documentNumber: "79876543",
},
headers: {
Accept: "application/json",
Authorization: "Bearer <your_token>",
},
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error.response ? error.response.data : error.message);
}
import requests
url = "https://api.verifik.co/v2/co/cpiq"
headers = {
"Accept": "application/json",
"Authorization": "Bearer <your_token>",
}
params = {
"documentNumber": "79876543",
}
response = requests.get(url, headers=headers, params=params)
print(response.json())
curl -X GET "https://api.verifik.co/v2/co/cpiq?documentNumber=79876543" \
-H "Accept: application/json" \
-H "Authorization: Bearer <your_token>"
Response
- 200(找到记录)
- 409(缺少参数)
- 404(未找到)
- 401(未授权)
- 500(数据源不可用)
{
"data": {
"documentType": "CC",
"documentNumber": "79876543",
"fullName": "LUIS GOMEZ",
"licenseNumber": "PQ-10293",
"profession": "INGENIERIA QUIMICA",
"status": "VIGENTE",
"isRegistered": true,
"hasSanctions": false
},
"signature": {
"dateTime": "November 27, 2026 12:00 PM",
"message": "Certified by Verifik.co"
}
}
{
"code": "MissingParameter",
"message": "Either documentNumber or licenseNumber must be provided"
}
{
"code": "NotFound",
"message": "Record not found."
}
{
"code": "UNAUTHORIZED",
"message": "Authentication required"
}
{
"code": "InternalServerError",
"message": "The official source is temporarily unavailable. Please retry shortly."
}
说明
- 本接口不把
fullName当作检索键。只发姓名会返回 409。 - 发送
documentNumber或licenseNumber。 - CPIQ 没有记录时为 HTTP 404。
- 在
Authorization头中发送 Bearer JWT。 - JSON 示例只说明字段形状。实际调用返回你所发送数值对应的记录。
- 不要发送绕过缓存的标志。本页只记录客户端参数。
沙盒
| 场景 | 参数 | 结果 |
|---|---|---|
| 数据源有记录 | documentNumber: "79876543" | 含执照和处分字段的 200。 |
| 缺少必填值 | fullName: "LUIS GOMEZ" only | 只发姓名不被接受,返回 409。 |
| 未知的值 | documentNumber: "000000000" | CPIQ 没有记录时为 404 NotFound。 |
401 when the bearer token is missing or rejected.