Skip to main content
POST
Read and check an Aadhaar QR code (v1)
Upload an image of the QR code on an Aadhaar card or e-Aadhaar as multipart/form-data, either as a file part or as base64 in image_b64. idto decodes the QR and checks the UIDAI signature, then returns the name, date of birth, gender, address and photo stored in it. The same endpoint also answers at the older spelling /verify/aadhar_qr; use /verify/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 QR: it supports Idempotency-Key, returns a billed flag and uses one error format. See Migrate from v1.

How to read the result

  • status: "success": the QR was decoded. data.authentic is true when the UIDAI signature matched and false when it did not; reject the card on false. Charged.
  • No readable QR: error_code is IDTO_204 and you are not charged. Depending on how your account is set up this arrives as HTTP 422 inside detail, or as HTTP 200 with status: "failed". Branch on error_code, not on the HTTP status.
  • 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

Image of the QR: JPEG, PNG, WebP, BMP or TIFF, up to 11 MB. Send this or image_b64.

image_b64
string

The same image as base64. Send this or file, not both.

user_id
string

Your own reference for the end user.

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.

status
enum<string>
Available options:
success,
failed
message
string
error_code
string | null

null on success. On a failed result: IDTO_204 no readable QR, IDTO_001 image rejected, IDTO_006 busy, IDTO_008 unavailable.

data
object
quality_warning
string

Present on some accounts when the image quality is low.

tranx_id
string

idto transaction id for this call.

timestamp
string<date-time>
chargeble
enum<string>

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

Available options:
true

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

Available options:
true
Last modified on December 1, 2026