๐จ๐ด ์ฝ๋กฌ๋น์ โ ๋ณํธ์ฌ ์กฐํ
์๋ํฌ์ธํธโ
GET https://api.verifik.co/v2/co/rama/abogados
์ฟผ๋ฆฌ๋ก documentType(CC, CE, NIT)๊ณผ documentNumber ๋ฅผ ๋ณด๋
๋๋ค. ์๋ต์ results ๋ฐฐ์ด์ ๋ ์ง์คํธ๋ฆฌ ํญ๋ชฉ์ด ๋ด๊น๋๋ค.
ํค๋(Headers)โ
| Name | Value |
|---|---|
| Accept | application/json |
| Authorization | Bearer <token> |
๋งค๊ฐ๋ณ์(Parameters)โ
| name | type | required | description |
|---|---|---|---|
documentType | string | yes | CC, CE, NIT ์ค ํ๋. |
documentNumber | string | yes | ์กฐํํ ์ ๋ถ์ฆยทNIT ๋ฒํธ. |
์์ฒญ(Request)โ
- Node.js
- Python
import axios from "axios";
const { data } = await axios.get("https://api.verifik.co/v2/co/rama/abogados", {
params: { documentType: "CC", documentNumber: "123456789" },
headers: {
Accept: "application/json",
Authorization: `Bearer ${process.env.VERIFIK_TOKEN}`,
},
});
console.log(data);
import os, requests
url = "https://api.verifik.co/v2/co/rama/abogados"
headers = {"Accept": "application/json", "Authorization": f"Bearer {os.getenv('VERIFIK_TOKEN')}"}
params = {"documentType": "CC", "documentNumber": "123456789"}
r = requests.get(url, headers=headers, params=params)
print(r.json())
์๋ต(Response)โ
- 200
- 404
- 409
{
"data": {
"documentNumber": "123456789",
"documentType": "CC",
"firstName": "Marรญa",
"fullName": "Marรญa Gonzรกlez Lรณpez",
"lastName": "Gonzรกlez Lรณpez",
"results": [
{
"documentNumber": "123456789",
"documentTypeName": "Cรฉdula de ciudadanรญa",
"firstName": "Marรญa",
"lastName": "Gonzรกlez Lรณpez",
"statusName": "Vigente",
"tarcarliceNumber": "987654"
}
]
},
"signature": {
"message": "Certified by Verifik.co",
"dateTime": "April 20, 2026 10:00 AM"
},
"id": "ABC12"
}
{
"code": "NotFound",
"message": "Record not found."
}
{
"code": "MissingParameter",
"message": "์ ํจ์ฑ ์ค๋ฅ(CCยทCEยทNIT ์ธ documentType ๋ฑ)."
}
์ฐธ๊ณ (Notes)โ
documentType์CC,CE,NIT๋ง ํ์ฉ๋ฉ๋๋ค.- ๋ฑ๋ก ๊ฒฐ๊ณผ๊ฐ ์์ผ๋ฉด 404 ๊ฐ ๋ ์ ์์ต๋๋ค.