Skip to main content
POST
DigiLocker account lookup

Authorizations

Authorization
string
header
required

Your API key, sent as Authorization: Bearer <your-key>.

Body

application/json

The Aadhaar or mobile number to look for a DigiLocker account under. At least one is required.

aadhaar_number
string | null

A 12-digit Aadhaar number

Pattern: ^\d{12}$
mobile_number
string | null

A 10-digit mobile number

Pattern: ^\d{10}$

Response

Successful Response

Whether a DigiLocker account is linked to the number.

details
DigilockerAccount · object
required

The account linked to the number, where there is one