Skip to main content
POST
Read an Aadhaar card image (v1)
Upload a photo or PDF of one side of an Aadhaar card as multipart/form-data. The front returns name, gender, date of birth and the Aadhaar number; the back returns the address, pincode and care-of. Each value comes with a confidence score. OCR reads the card; it does not check it against UIDAI, so use the result as a pre-fill and verify with OKYC, DigiLocker or the Aadhaar QR. This is a v1 endpoint: the response is a flat object, not the v2 envelope.

Environments

This endpoint has no Idempotency-Key support. A retried call runs again and can be charged twice. Retry only after you have confirmed the first call failed.
For new integrations use Aadhaar OCR: it supports Idempotency-Key, returns a billed flag and uses one error format. See Migrate from v1.

How to read the result

  • status: "success": read data[0]. document_type tells you which side was read (aadhaar_front_top, aadhaar_front_bottom or aadhaar_back); only the fields for that side are present. Charged.
  • aadhaar_number.value is the full number as printed; is_masked is true when the card itself is masked. Store it under the same controls as any Aadhaar copy.
  • verification.qr_found says whether a QR code was seen on the image.
  • Any other status is not charged.
  • Billing signal: chargeble and user_consent are "true" only on a charged call.

Errors

Every wrapped detail object also carries data: null, tranx_id and timestamp.

Test scenarios

Questions: Aadhaar FAQ. Was this page helpful? Email us at tech@idto.ai with the page link.

Authorizations

X-Client-ID
string
header
default:<client-id>
required

The Client ID shown on the API Credentials page of the idto dashboard. It is not your account or customer ID, which returns 401. Send it on every server-to-server request together with X-API-Key. Staging and production client IDs are different.

X-API-Key
string
header
default:<api-key>
required

Your API key from the idto dashboard (API credentials). Keep it on your server; never ship it in a browser or mobile app. Send it on every server-to-server request together with X-Client-ID.

Body

multipart/form-data
file
file
required

JPEG, PNG or PDF of one side of the card, up to 6 MB.

workflow_session_token
string

Set only when the call is made inside an idto workflow session.

Response

The call completed. Charged only when status is success.

chargeble
enum<string>

Present and "true" only when the call was charged.

Available options:
true
data
object[]

One entry for the side of the card that was read.

status
string

success when the card was read. Any other value is not charged.

Present and "true" only when the call was charged.

Available options:
true
verification
object
tranx_id
string

idto transaction id for this call.

timestamp
string<date-time>
Last modified on December 1, 2026