Skip to main content
POST
Check whether a mobile number has a DigiLocker account
Optional, before step 1 of the DigiLocker flow. Tells you whether a mobile number has a DigiLocker account, so you can send existing users to sign-in and new users to sign-up (redirect_to_signup: true on Start a DigiLocker session).

Environments

Billing

Charged only when the response status is success. Both outcomes above are success and both are charged. A charged JSON response also carries "chargeble": "true" and "user_consent": "true" (spelled as the API returns them).
This endpoint has no idempotency support. A retry after a timeout runs the call again and can be charged twice.

Errors

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

application/json
mobile_number
string

10-digit mobile number.

user_id
string

Response

Lookup done. Charged for both outcomes.

status
enum<string>
Available options:
success
code
enum<integer>

1004 registered, 2002 not registered.

Available options:
1004,
2002
result
object
chargeble
enum<string>

"true" on a charged call.

Available options:
true

"true" on a charged call.

Available options:
true
tranx_id
string

idto transaction id. Quote it to support.

timestamp
string
Last modified on October 4, 2026