BrandKwikID Documentation
API SuiteDocument OCR (ML)

Passport Front

This API extracts details like Passport Number, DOB, Date of Expiry, Date of Issue, Name, Nationality, Place of Birth, Sex, Surame from the front side of Passport

Try itLoading playground…
Loading…
AuthorizationBearer <token>

JWT Bearer token authentication. Obtain a token from the KwikID dashboard.

In: header

filestring
flags?string
unique_id?string

Response Body

curl -X POST "https://__mock__/ocr/passport/front" \  -F file="string"
{
  "DOB": "string",
  "date_of_expiry": "string",
  "date_of_issue": "string",
  "name": "string",
  "nationality": "string",
  "passport_number": "string",
  "place_of_birth": "string",
  "sex": "string",
  "surname": "string"
}
{
  "detail": {
    "<location>": {
      "<field_name>": [
        "string"
      ]
    }
  },
  "message": "string"
}
{
  "detail": {},
  "message": "string"
}