Extract Identity Card Data
POST
/document-ai/{model-id}
Extracted Data Types
null
.Parameter Name | Variable Type |
---|---|
id_number | string | null |
id_holder_thai_name | string | null |
id_holder_name | string | null |
id_holder_lastname | string | null |
id_holder_thai_date_of_birth | string | null |
id_holder_date_of_birth | string | null |
id_holder_thai_religion | string | null |
id_holder_thai_address | string | null |
id_holder_height | string | null |
id_date_of_issue | string | null |
id_thai_date_of_issue | string | null |
id_date_of_expiry | string | null |
id_thai_date_of_expiry | string | null |
id_thai_place_of_issue | string | null |
id_thai_card_issue_officer | 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:14:50