Document Verification with Face

Verify a document using face image

This endpoint provides a powerful feature that enables users to verify the authenticity of a document by comparing it with a face image. This process helps ensure that the document matches the person claiming ownership or authorization, adding an extra layer of security and trustworthiness. Whether it's validating identity documents such as passports, driver's licenses, or identification cards, this endpoint streamlines the verification process and reduces the risk of fraudulent activities.



doc_type: ID

doc_country: TZA








Request Header

x-api-keyYour Secret Key
app-idYour App ID

Request Body

doc_typeDocument - Passport (PP) | Driver's License (DL) | Government issued Identity Card (ID) | Residence Permit (RP) | Utility Bill (UB)
doc_countryCountry code e.g NG, GH. Get country codes here
doc_imageBase 64 encoding of document image
selfie_imageBase 64 encoding of face image

Sample Response

    "status": true,
    "response_code": "00",
    "message": "Information Retrieved",
    "data": {
        "fullName": "MASANJA MAKA KISINZA",
        "first_name": "MAKA KISINZA",
        "last_name": "MASANJA",
        "gender": "M",
        "dob": "1990-09-07",
        "address": "",
        "document_name": "",
        "documentNumber": "",
        "documentType": "",
        "documentCountry": "TZA",
        "nationality": "",
        "issuer": "Tanzania, United Republic of",
        "place_of_issue": "",
        "date_of_issue": "",
        "age": "32",
        "expirationDate": "2028-03-17",
        "device": {},
    "face_data": {
        "status": false,
        "response_code": "01",
        "message": "Face does not match",
        "confidence": 0
    "verification": {
        "reference": "f06fc1a5-423e-4076-a022-634f9ebc54c0"

Response Description

statusIndicates that the request was successful.
response_codeRepresents the response code.
messageProvides additional information or a descriptive message related to the response.
dataAn array containing the information received.
fullNameThe full name of the individual.
first_nameThe first name of the individual.
last_nameThe last name of the individual.
genderThe gender of the individual.
dobThe date of birth of the individual.
addressThe address of the individual.
document_nameThe name of the document associated with the individual.
documentNumberThe number of the document associated with the individual.
documentTypeThe type of document associated with the individual.
documentCountryThe country code of the document issuer.
nationalityThe nationality of the individual.
issuerThe name of the country that issued the document.
place_of_issueThe place where the document was issued.
date_of_issueThe date when the document was issued.
ageThe age of the individual, calculated based on the date of birth.
expirationDateThe expiration date of the document associated with the individual.
deviceAdditional information about the device used for capturing the data.
imageA base64-encoded image of the individual's face.
Face_dataInformation related to the face matching process.
statusThe overall status of the face matching process.
response_codeA code representing the outcome of the face matching process.
messageA human-readable message describing the result of the face matching process.
confidenceThe level of confidence or certainty associated with the face matching result.