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}}"
}
}La API de Global ID Recognition procesa y verifica documentos de identificación analizando tanto las imágenes del frente como del reverso de la identificación, junto con el país emisor y el tipo de identificación. Esta API garantiza la autenticidad y validez de la identificación proporcionada a través de OCR detallado (Reconocimiento Óptico de Caracteres) y proporciona resultados integrales.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.
| Status Code | errorCode | Description | Detailed |
|---|---|---|---|
| 400 | 1001 | Workspace is unavailable | workspace is not currently operating |
| 400 | 1003 | Fail to process data | Server had problem in processing data please retry |
| 400 | 1005 | idImage is required | idImage is not entered |
| 400 | 1006 | issuingCountry is required | issuingCountry is missing |
| 400 | 1010 | callbackUrl is required | callbackUrl is missing |
| 400 | 1011 | Fail to recognize idCard | the idCard’s image is different from issuingCountry and idType |
| 400 | 1012 | Fail to recognize back of an idCard | the idCard’s image is different from issuingCountry and idType |
| 400 | 1013 | Invalid image format | the image is not in Base64 format |
| 400 | 1014 | idType is required | idType is missing |
| 400 | 1015 | invalid inputs : missing fields | field is missing |
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"
¿Esta página le ayudó?
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}}"
}
}