Skip to main content
POST
Check for a DigiLocker account

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json

Request to check whether a DigiLocker account exists.

aadhaar_number
string | null

12-digit Aadhaar number

Pattern: ^[0-9]{12}$
mobile
string | null

10-digit Indian mobile number

Pattern: ^(?:\+91)?[6-9]\d{9}$

Response

Successful Response

Response to an account-existence check.

code
integer
required

HTTP status code of the response

timestamp
integer
required

Unix millisecond timestamp of when the response was produced

transaction_id
string
required

Identifier for this call. Quote it when raising a query about one

data
UserExists · object
required

Whether a DigiLocker account exists for the identifier given.