API Documentation

Face and ID Card Verification for KYC API

Face and ID Card Verification

POST https://api.iapp.co.th/face-verify-id/facecheck

This URL allows you to verify faces and ID Card.

Headers

NameTypeDescription

apikey*

String

The API Key to call this API

Request Body

NameTypeDescription

file1*

File

The binary data of the image

file2*

File

The binary data of the image

{
    "message": "successfully performed",
    "process_time": 0.3729121685028076,
    "result": "matched",
    "similarity_score": 0.5220710916461694
}

Parameter in Response

NameTypeDescription

idcard

Dict

Confidence Score and isSamePerson( True or False) of ID Card

selfie

Dict

Confidence Score and isSamePerson( True or False) of selfie

time_process

String

The Processing Time

total

Dict

Summary of Confidence Score and isSamePerson result

Sample Requests

curl --location 'https://api.iapp.co.th/face-verify-id/facecheck' \
--header 'apikey: {{apikey}}' \
--form 'file0=@"cvKeFw0VP/Screen Shot 2566-09-14 at 17.28.16.png"' \
--form 'file1=@"08v_eIUDh/Screen Shot 2566-09-14 at 17.28.23.png"'
// Configure Score
curl --location -g --request GET 'https://api.iapp.co.th/face_config_score?detection={Detection Value}&comparison={Comparison Value}&company={Your Company Name}&password={Your Company Password}' \
--header 'apikey: {Your API Key}'
  
// Show Score
curl --location -g --request GET 'https://api.iapp.co.th/face_config_score?detection&comparison&company={Your Company Name}&password={Your Company Password}' \
--header 'apikey: {Your API Key}'

Last updated