Extract Passport Data
POST
/document-ai/{model-id}
Extracted Data Types
null
.Parameter Name | Variable Type |
---|---|
passport_type | string | null |
passport_country_code | string | null |
passport_number | string | null |
passport_holder_fullname | string | null |
passport_holder_nationality | string | null |
passport_holder_nationality_vietnamese | string | null |
passport_holder_date_of_birth | string | null |
passport_holder_place_of_birth | string | null |
passport_holder_sex | string | null |
passport_holder_sex_vietnamese | string | null |
passport_holder_identity_number | string | null |
passport_date_of_issue | string | null |
passport_date_of_expiry | string | null |
passport_place_of_issue | string | null |
Notes
data
array will always have the specified type, with the possibility of being null
.null
.Request
Path Params
model-id
string
required
model-
followed by a 12-characters numbers and alphabet. This ID identifies the specific AI model you want to use for document processing.Example:
model-a1b2c3d4e5f6
Body Params multipart/form-data
file
file
optional
fileBase64
string
optional
Example:
JVBERi0xLjMNCiXi48/....
mimeType
string
optional
Example:
application/pdf
Request samples
Responses
Modified at 2025-05-13 04:16:04