New Omni documentation is now available — policy-driven document verification and API reference. Explore Omni → · Custom Theme for KYC liveform: Learn more →
New Omni documentation is now available — policy-driven document verification and API reference. Explore Omni → · Custom Theme for KYC liveform: Learn more →
Process and verify identification documents by analyzing both front and back images, along with the issuing country and ID type
curl --request POST \
--url https://idverify-api.argosidentity.com/modules/recognition \
--header 'Content-Type: application/json' \
--header 'x-api-key: <api-key>' \
--data '
{
"idImage": "iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAYAAAAfFcSJAAAADUlEQVR42mNkYPhfDwAChwGA60e6kgAAAABJRU5ErkJggg==",
"issuingCountry": "USA",
"idType": "government_id",
"idBackImage": "iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAYAAAAfFcSJAAAADUlEQVR42mNkYPhfDwAChwGA60e6kgAAAABJRU5ErkJggg==",
"callbackUrl": "https://your-domain.com/callback"
}
'{
"apiType": "id_recognition",
"transactionId": "e0nvom3caiis7",
"result": {
"data": {
"raw": {
"address": {
"value": "ADDRESS 110, SOMEWHERE STREET",
"score": 89,
"coordinates": {
"first": {
"x": 95,
"y": 221
},
"fourth": {
"x": 95,
"y": 258
},
"second": {
"x": 430,
"y": 221
},
"third": {
"x": 430,
"y": 258
}
},
"original_coordinates": {
"first": {
"x": 211,
"y": 714
},
"fourth": {
"x": 213,
"y": 752
},
"second": {
"x": 553,
"y": 713
},
"third": {
"x": 554,
"y": 751
}
}
},
"authority": {
"value": "{{value}}",
"score": 4,
"coordinates": {
"first": {
"x": 796,
"y": 1460
},
"fourth": {
"x": 799,
"y": 1637
},
"second": {
"x": 1931,
"y": 1461
},
"third": {
"x": 1925,
"y": 1641
}
}
},
"name": {
"value": "{{value}}",
"score": 61,
"coordinates": {
"first": {
"x": 367,
"y": 462
},
"fourth": {
"x": 375,
"y": 669
},
"second": {
"x": 1379,
"y": 454
},
"third": {
"x": 1378,
"y": 663
}
}
},
"name_chn": {
"value": "{{value}}",
"score": 61,
"coordinates": {
"first": {
"x": 367,
"y": 462
},
"fourth": {
"x": 375,
"y": 669
},
"second": {
"x": 1379,
"y": 454
},
"third": {
"x": 1378,
"y": 663
}
}
},
"number": {
"value": "{{value}}",
"score": 95,
"accepted": true,
"coordinates": {
"first": {
"x": 248,
"y": 698
},
"fourth": {
"x": 256,
"y": 867
},
"second": {
"x": 1423,
"y": 691
},
"third": {
"x": 1421,
"y": 861
}
}
},
"rotate": {
"value": "0"
}
},
"ocr": {
"ocr_fullName": "{{ocr_fullName}}",
"ocr_firstName": "{{ocr_firstName}}",
"ocr_middleName": "{{ocr_middleName}}",
"ocr_lastName": "{{ocr_lastName}}",
"ocr_gender": "{{ocr_gender}}",
"ocr_nationality": "{{ocr_nationality}}",
"ocr_birthDate": "{{ocr_birthDate}}",
"ocr_identityNumber": "{{ocr_identityNumber}}",
"ocr_issueDate": "{{ocr_issueDate}}",
"ocr_expireDate": "{{ocr_expireDate}}",
"ocr_version": "{{ocr_version}}",
"ocr_number": "{{ocr_number}}",
"full_mrz": "{{full_mrz}}",
"mrz_line1": "{{mrz_line1}}",
"mrz_line2": "{{mrz_line2}}"
}
},
"review_front": true,
"review_back": false,
"document_type": "{{document_type}}"
}
}Global ID Recognition API는 ID의 앞면과 뒷면 이미지, 발급 국가 및 ID 유형을 분석하여 신분증을 처리하고 검증합니다. 이 API는 상세한 OCR(광학 문자 인식)을 통해 제공된 ID의 진위성과 유효성을 보장하며 포괄적인 결과를 제공합니다.Documentation Index
Fetch the complete documentation index at: https://developers.argosidentity.com/llms.txt
Use this file to discover all available pages before exploring further.
| 상태 코드 | errorCode | 설명 | 발생 유형 |
|---|---|---|---|
| 400 | 1001 | Workspace is unavailable | 워크스페이스를 현재 사용할 수 없음 |
| 400 | 1003 | Fail to process data | 서버상의 이슈로 인해 데이터 처리 실패 및 재시도 권장 |
| 400 | 1005 | idImage is required | idImage가 필요함 |
| 400 | 1006 | issuingCountry is required | issuingCountry가 필요함 |
| 400 | 1009 | Fail to analyze data | 신분증 이미지 분석 실패 및 재시도 권장 |
| 400 | 1010 | callbackUrl is required | callbackUrl이 필요함 |
| 400 | 1011 | Fail to recognize idCard | ID 카드 인식 실패: 통상적으로 유저가 제출한 신분증이 앞서 지정한 신분증(idType, issuingCountry)과 다른 경우 발생 |
| 400 | 1012 | Fail to recognize back of an idCard | ID 카드 뒷면 인식 실패: 통상적으로 유저가 제출한 신분증이 앞서 지정한 신분증(idType, issuingCountry)과 다른 경우 발생 |
| 400 | 1013 | Invalid image format | 잘못된 이미지 형식 (base64 가 아닐 때) |
| 400 | 1014 | idType is required | idType이 필요함 |
| 400 | 1015 | invalid inputs : missing fields | 잘못된 입력: 누락된 필드가 존재 |
Image of the front side of the ID document in base64 format. Base64 encoded characters in the payload must not include the MIME type. For example, if the encoded base64 characters are "image/png;base64,/9j/2wBDABQODxIP...", then remove "image/png;base64," and send only the encoded data "/9j/2wBDABQODxIP...".
"iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAYAAAAfFcSJAAAADUlEQVR42mNkYPhfDwAChwGA60e6kgAAAABJRU5ErkJggg=="
The ISO 3 Alpha Country Code of the issuing country for the ID document.
"USA"
The type of the ID document
government_id, passport, drivers_license, residence_permit, vehicle_registration_certificate, visa, aadhaar, pancard "government_id"
Image of the back side of the ID document in base64 format.
"iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAYAAAAfFcSJAAAADUlEQVR42mNkYPhfDwAChwGA60e6kgAAAABJRU5ErkJggg=="
The URL where the recognition results will be sent upon completion. If a callbackUrl is provided, the process works asynchronously. If no callbackUrl is provided, the process operates synchronously.
"https://your-domain.com/callback"
이 페이지가 도움이 되었나요?
curl --request POST \
--url https://idverify-api.argosidentity.com/modules/recognition \
--header 'Content-Type: application/json' \
--header 'x-api-key: <api-key>' \
--data '
{
"idImage": "iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAYAAAAfFcSJAAAADUlEQVR42mNkYPhfDwAChwGA60e6kgAAAABJRU5ErkJggg==",
"issuingCountry": "USA",
"idType": "government_id",
"idBackImage": "iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAYAAAAfFcSJAAAADUlEQVR42mNkYPhfDwAChwGA60e6kgAAAABJRU5ErkJggg==",
"callbackUrl": "https://your-domain.com/callback"
}
'{
"apiType": "id_recognition",
"transactionId": "e0nvom3caiis7",
"result": {
"data": {
"raw": {
"address": {
"value": "ADDRESS 110, SOMEWHERE STREET",
"score": 89,
"coordinates": {
"first": {
"x": 95,
"y": 221
},
"fourth": {
"x": 95,
"y": 258
},
"second": {
"x": 430,
"y": 221
},
"third": {
"x": 430,
"y": 258
}
},
"original_coordinates": {
"first": {
"x": 211,
"y": 714
},
"fourth": {
"x": 213,
"y": 752
},
"second": {
"x": 553,
"y": 713
},
"third": {
"x": 554,
"y": 751
}
}
},
"authority": {
"value": "{{value}}",
"score": 4,
"coordinates": {
"first": {
"x": 796,
"y": 1460
},
"fourth": {
"x": 799,
"y": 1637
},
"second": {
"x": 1931,
"y": 1461
},
"third": {
"x": 1925,
"y": 1641
}
}
},
"name": {
"value": "{{value}}",
"score": 61,
"coordinates": {
"first": {
"x": 367,
"y": 462
},
"fourth": {
"x": 375,
"y": 669
},
"second": {
"x": 1379,
"y": 454
},
"third": {
"x": 1378,
"y": 663
}
}
},
"name_chn": {
"value": "{{value}}",
"score": 61,
"coordinates": {
"first": {
"x": 367,
"y": 462
},
"fourth": {
"x": 375,
"y": 669
},
"second": {
"x": 1379,
"y": 454
},
"third": {
"x": 1378,
"y": 663
}
}
},
"number": {
"value": "{{value}}",
"score": 95,
"accepted": true,
"coordinates": {
"first": {
"x": 248,
"y": 698
},
"fourth": {
"x": 256,
"y": 867
},
"second": {
"x": 1423,
"y": 691
},
"third": {
"x": 1421,
"y": 861
}
}
},
"rotate": {
"value": "0"
}
},
"ocr": {
"ocr_fullName": "{{ocr_fullName}}",
"ocr_firstName": "{{ocr_firstName}}",
"ocr_middleName": "{{ocr_middleName}}",
"ocr_lastName": "{{ocr_lastName}}",
"ocr_gender": "{{ocr_gender}}",
"ocr_nationality": "{{ocr_nationality}}",
"ocr_birthDate": "{{ocr_birthDate}}",
"ocr_identityNumber": "{{ocr_identityNumber}}",
"ocr_issueDate": "{{ocr_issueDate}}",
"ocr_expireDate": "{{ocr_expireDate}}",
"ocr_version": "{{ocr_version}}",
"ocr_number": "{{ocr_number}}",
"full_mrz": "{{full_mrz}}",
"mrz_line1": "{{mrz_line1}}",
"mrz_line2": "{{mrz_line2}}"
}
},
"review_front": true,
"review_back": false,
"document_type": "{{document_type}}"
}
}