🇨🇴 コロンビア — PPT(一時保護許可)
エンドポイント
GET https://api.verifik.co/v2/co/foreigner-id/ppt
documentNumber と発行日 expeditionDate(DD/MM/YYYY)が必要です。POST でも同じフィールドを JSON で送れます。
ヘッダー(Headers)
| Name | Value |
|---|---|
| Accept | application/json |
| Authorization | Bearer <token> |
パラメータ(Parameters)
| name | type | required | description |
|---|---|---|---|
documentNumber | string | yes | スペースなしの PPT 番号。 |
expeditionDate | string | yes | 発行日 DD/MM/YYYY。 |
リクエスト(Request)
- 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())
レスポンス(Response)
- 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"
}
備考(Notes)
- 日付は
DD/MM/YYYY形式です。 GET/POSTは同じ処理です。- 上流の不調で 404 / 500 になることがあります。