SSO DigiLocker Initiate Session API

🙌

Important Note

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

API Endpoints

📘

Initial Decentro Transaction ID

The Initiate Session API returns a decentroTxnId in its response. Use this value as the initial_decentro_txn_id path parameter when calling subsequent SSO DigiLocker APIs.

Body Params
string
required

The purpose of taking this consent from your customer. Mandatory as per regulation. (>20 characters)

string
required

Any unique ID assigned by you for this API request.

string
required
boolean
boolean
boolean
boolean
Defaults to false

This optional field will clear the cookies post the login of the user. Hence, when another session is started on the same device, the user will have to login again if this field is set to true.

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