점수 프로필 목록 조회
Smart Report 템플릿(reportTheme.scoreProfile)에 연결하거나 템플릿 HTML 미리보기 (scoreProfile)에 전달할 수 있는 지원 검증 점수 프로필 전체 목록을 조회합니다.
헤드리스 구성 UI 및 AI 에이전트 워크플로에서는 점수 계산을 활성화하기 전에 이 엔드포인트를 조회하여 애플리케이션이 scoreProfile 식별자를 동적으로 검증하고, HTML 미리보기 또는 리포트 렌더링 중 발생하는 409 (unknown_score_profile) 오류를 방지하세요. 제공되는 프로필은 드라이버, 신원, 기업, 차량 관리(플릿), 차량 구매, 대출, 의료 및 생체 인증 워크플로를 포괄합니다.
cabify_driverkyckybfleetvehicle_purchaseidentity_lookupbackground_checklendinghealthcare_professionalbiometrics
엔드포인트
GET https://api.verifik.co/v2/smart-report-templates/score-profiles
Smart-Agent 프록시(https://ai.verifik.co)도 동일한 /v2/... 경로를 제공하며 본인의 Authorization: Bearer <VERIFIK_JWT> 헤더가 필요합니다.
헤더
| 이름 | 값 |
|---|---|
| Accept | application/json |
| Authorization | Bearer <VERIFIK_JWT> |
매개변수
필수 쿼리 또는 경로 매개변수가 없습니다.
요청
- Node.js
- PHP
- Python
- Go
- cURL
const fetch = require("node-fetch");
async function run() {
const res = await fetch(
"https://api.verifik.co/v2/smart-report-templates/score-profiles",
{
method: "GET",
headers: {
Accept: "application/json",
Authorization: `Bearer ${process.env.VERIFIK_JWT}`,
},
}
);
console.log(await res.json());
}
run();
<?php
$ch = curl_init("https://api.verifik.co/v2/smart-report-templates/score-profiles");
curl_setopt($ch, CURLOPT_HTTPHEADER, [
"Accept: application/json",
"Authorization: Bearer " . getenv("VERIFIK_JWT"),
]);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
$response = curl_exec($ch);
curl_close($ch);
echo $response;
import os
import requests
url = "https://api.verifik.co/v2/smart-report-templates/score-profiles"
headers = {
"Accept": "application/json",
"Authorization": f"Bearer {os.getenv('VERIFIK_JWT')}",
}
r = requests.get(url, headers=headers)
print(r.json())
package main
import (
"encoding/json"
"fmt"
"net/http"
"os"
)
func main() {
req, _ := http.NewRequest("GET", "https://api.verifik.co/v2/smart-report-templates/score-profiles", nil)
req.Header.Set("Accept", "application/json")
req.Header.Set("Authorization", "Bearer "+os.Getenv("VERIFIK_JWT"))
resp, err := http.DefaultClient.Do(req)
if err != nil {
panic(err)
}
defer resp.Body.Close()
var out map[string]interface{}
json.NewDecoder(resp.Body).Decode(&out)
fmt.Println(out)
}
curl -X GET "https://api.verifik.co/v2/smart-report-templates/score-profiles" \
-H "Accept: application/json" \
-H "Authorization: Bearer $VERIFIK_JWT"
응답
- 200
- 401
{
"data": [
{ "id": "cabify_driver", "name": "Cabify Driver" },
{ "id": "kyc", "name": "KYC" },
{ "id": "kyb", "name": "KYB" },
{ "id": "fleet", "name": "Fleet" },
{ "id": "vehicle_purchase", "name": "Vehicle Purchase" },
{ "id": "identity_lookup", "name": "Identity Lookup" },
{ "id": "background_check", "name": "Background Check" },
{ "id": "lending", "name": "Lending" },
{ "id": "healthcare_professional", "name": "Healthcare Professional" },
{ "id": "biometrics", "name": "Biometrics" }
]
}
{
"message": "Unauthorized",
"code": "Unauthorized"
}
참고 사항
- 템플릿을 생성하거나 수정할 때는 반환된
id값을reportTheme.scoreProfile에 사용하고, 템플릿 HTML 미리보기에서는scoreProfile로 사용하세요. - 인식되지 않는
scoreProfile을POST /v2/smart-report-templates/preview-html에 전송하면409(unknown_score_profile)가 반환됩니다.