API Reference
The details of API endpoints for Web IDV.
Request Identity Verification
GET
https://api.app.authenteq.com/web-idv/verification-url
This endpoint returns a URL that leads to Authenteq Identity Server.
This endpoint is authorized with Basic Auth. You should use your Client ID
and Client Secret
from the Customer Dashboard as the credentials.
Query Parameters
Name | Type | Description |
---|---|---|
redirectUrl* | string | One of your registered redirect URLs that will be used to receive the code. |
Headers
Name | Type | Description |
---|---|---|
Authorization | string | Your client credentials combined with a colon separator, base64-encoded and prefixed with "Basic ". |
AQ-Multi-Document-Flow | string | The "On" value turns on use of the multi-document flow for the requested identity verification. By default, it's turned off for backward compatibility. |
AQ-Flow-Slug | string | The Flow ID of the verification flow that should be used for the verification. If not present the default flow will be used. |
This endpoint should be called by your backend system.
The client secret, as its name suggests, is a secret and should never be made publicly available. It SHOULD NOT be stored in the frontend code that is run in the user's browser.
Get Verification Result Details
GET
https://api.app.authenteq.com/web-idv/verification-result
The endpoint returns the verification result details extracted from the user document during identification. The verification result details are paired with the granted code. This endpoint is authorized with Basic Auth. You should use your Client ID and Client Secret from the Customer Dashboard as the credentials.
Query Parameters
Name | Type | Description |
---|---|---|
redirectUrl | string | The redirect URL you used to request the verification session. |
code | string | The code you got on redirect and granted to access the verification result details. |
Headers
Name | Type | Description |
---|---|---|
Authorization | string | Your client credentials combined with a colon separator, base64-encoded and prefixed with "Basic ". |
This endpoint should be called by your backend system.
The client secret, as its name suggests, is a secret and should never be made publicly available. It SHOULD NOT be stored in the frontend code that is run in the user's browser.
The code can be used once only. On subsequent requests you will get an error that the code is invalid or expired.
The successful response on getting the verification result can hold the following properties:
Property | Description | Mandatory | Example |
id | The unique id of the identity verification. | Yes |
|
platform | The client platform on which the identity verirication was started. Actually it's always | Yes |
|
startTime | The date-time when the identity verification was started. | Yes |
|
endTime | The date-time when the identity verification was finished. | Yes |
|
livenessFaceImage | The face image taken on the liveness check. | Yes |
|
documentData | The document data extracted from the first scanned document. | Yes | Described below. |
documentData2 | The document data extracted from the second scanned document in case of the multi-document flow. | No | Described below. |
documentData3 | The document data extracted from the third scanned document in case of the multi-document flow. | No | Described below. |
nfcVerified | Whether at least one of the scanned documents was verified via NFC. | Yes |
|
addressProofDocument | The address proof document provided by the user. | No |
|
Each document data field can hold the following properties:
Property | Description | Mandatory | Example |
documentType | The document type described by abbreviations:
| Yes |
|
documentNumber | The document number. | Yes |
|
issuingCountry | The three letter country code in ISO 3166-1 alpha-3 format of the country which issued the document. | Yes |
|
jurisdiction | The state issued the document. | No |
|
nationality | The three letter country code in ISO 3166-1 alpha-3 format of the user’s nationality. | No |
|
surnameAndGivenNames | The surname and given names, separated by whitespace. | Yes |
|
surname | The surname (family name). | No |
|
givenNames | The given names, separated by whitespace. | No |
|
nameSuffixes | The name suffixes, separated by whitespace. | No |
|
namePrefixes | The name prefixes, separated by whitespace. | No |
|
sex | The user's gender that contains one of values:
| No |
|
dateOfBirth | The date of user's birth. | Yes |
|
dateOfExpiry | The date of document expiration. | No |
|
dateOfIssue | The date when the document was issued. | No |
|
address | The user's address. | No |
|
licenseClass | The type of Driving License detected. | No |
|
licenseClassDetails | The details of Driver License detected. | No |
|
Not all documents contain surname and given names as separate fields. Quite often there is just a single field where surname and given names follow each other. So surname and givenNames fields exist in the retrieved document data only when they exist in the user document as separate ones.
All binary data like content of images, attached documents and so on are returned in base64 format and will need to be decoded.
Last updated