Initiate a consent session
Initiate a consent session and return the DigiLocker URL to redirect the user to.
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Body
Request to initiate a consent session.
Whether the user signs in to an existing DigiLocker account or creates one
signin, signup HTTPS URL the user is redirected to after granting or denying consent. Must be publicly reachable
1 - 2083Document types consent is being requested for
1A document type that can be requested from DigiLocker.
aadhaar, pan, driving_license Configuration controlling the DigiLocker authentication and sign-up experience.
Unix millisecond timestamp after which the consent request expires, at least an hour ahead
Response
Successful Response
Response to initiating a session.
HTTP status code of the response
Unix millisecond timestamp of when the response was produced
Identifier for this call. Quote it when raising a query about one
An initiated consent session and the URL to send the user to.
