Generate Access Token

🙌

Important Note

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

API Endpoints

This API is used to initiate a session with Digilocker. This API generates an Initial Decentro Transaction ID which will be used in the next DigiLocker flow APIs.

Refer here for DigiLocker Initiate Session Documentation

🔑

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

Any unique ID assigned by you for this API request

boolean
required
Defaults to false
string
required
string
required

The initial Decentro transaction ID received in the Initiate Session API

string
required
Defaults to false

The DigiLocker code received in the Initiate Session API

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

Language
Response
Click Try It! to start a request and see the response here!