POST
/
scanDocuments

Authorizations

Authorization
string
headerrequired

The access token received from the authorization server in the OAuth 2.0 flow.

Headers

X-token
string
required

authentication token from /authorize response

Body

application/json
country
enum<string>
Available options:
UAE,
OMN,
PAK,
SAU,
BHR,
KWT,
QAT,
NLD,
OTHER
documentType
enum<string>
required
Available options:
PASSPORT,
ID,
DRIVER_LICENCE,
VEHICLE_LICENCE,
VISA_DOCUMENT,
SELFIE,
UTILITY_BILL,
PROOF_OF_RESIDENCE,
BANK_STATEMENT
frontImage
string
required
backImage
string
disableExpiryValidation
boolean
required
exportFaceImage
boolean
required
startSession
boolean

Response

default - application/json
sessionId
string
front
object
back
object
analysis
object