API SuiteDocument OCR (ML)
Aadhaar Back OCR
OCR the back of an Aadhaar card from an image. Server-side multipart POST with Bearer auth.
API reference
Try itLoading playground…
Loading…
AuthorizationBearer <token>
JWT Bearer token authentication. Obtain a token from the KwikID dashboard.
In: header
filestring
flags?string
Optional JSON string. Keys: CARD_ORIENT (0/1) corrects orientation; CARD_CROP (0/1) runs document crop before OCR.
unique_id?string
Optional correlation id for logs.
Response Body
curl -X POST "https://__mock__/ocr/aadhaar/back" \ -F file="string"{
"aadhaar_address": "string",
"aadhaar_number": "string",
"aadhaar_validity": "string",
"pincode": "string"
}{
"detail": {
"<location>": {
"<field_name>": [
"string"
]
}
},
"message": "string"
}{
"detail": {},
"message": "string"
}Overview
Call POST /ocr/aadhaar/back with Authorization: Bearer <token> and file. Optional flags and unique_id. Treat output as sensitive and align with your Aadhaar data policy.
Key features
- Captures address blocks often printed on the back.
- Pairs with front OCR for a full-card read.
Implementation
Step 1: Call from your backend
Upload back image as file.
Error handling
| HTTP status | When |
|---|---|
| 400 | Unreadable image. |
| 401 | Invalid token. |
Benefits
- Completes OCR when your UX collects front and back separately.