eAadhaar

🙌

Important Note

Please use only Staging Credentials on each API Reference page to test the APIs directly from our Documentation.

API Endpoints

This API will return e-Aadhaar data in XML format. Refer here for eAadhaar Documentation

😋

Voila

Now you can get the below mentioned parameters in the response as well by passing the following params in the request body -

  • DigiLocker verified Aadhaar XML by passing the optional parameter generate_xml as true
  • eAadhaar PDF from DigiLocker verified XML by passing an optional parameter generate_pdf as true

😔

Aadhaar Data Not Found

  • If you get "try again, data not found" in the response, please login to DigiLocker account and refresh the Aadhaar card
  • If you get "aadhaar is not linked to the account" that means Aadhaar is not linked with this DigiLocker account

🔑

DigiLocker Response Keys

Here are the Response Keys and the scenarios under which Decentro will propagate the same to the platform - Response Keys

Body Params
string
required

A unique ID assigned by Decentro when the session was initiated in Initiate Session API

boolean
required
Defaults to false
string
required
string
required

Any unique ID assigned by you for this API request

boolean

If you want the xml file of eAadhaar from DigiLocker

boolean

If you want the PDF file of eAadhaar verified from DigiLocker

Headers
string
required

ID/identifier that is provided by Decentro to a specific client and environment. Please note, this may change based on the environment you are on.

string
required

The confidential credential provided by Decentro that is associated with the client_id

Responses

Language
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json