Initiate Session
The Initiate Session API returns a DigiLocker link that the user is redirected to, where they can provide consent for the requested documents.
Documentation Index
Fetch the complete documentation index at: https://developer.sandbox.co.in/llms.txt
Use this file to discover all available pages before exploring further.
Run in Postman
Headers
JWT access token. For token-generation steps, refer to the Quickstart Guide.
API key used to identify and authenticate the client.
Specifies the API version for the request.
Media type of the request body.
application/json Body
in.co.sandbox.kyc.digilocker.session.request Authentication flow to initiate on DigiLocker. Use signin for existing users or signup to create a new DigiLocker account.
signin, signup HTTPS URL where the user will be redirected after granting or denying DigiLocker consent. Must be a valid, publicly accessible URL.
^https://List of DigiLocker document types for which user consent is being requested.
1aadhaar, pan, driving_license 1Configuration object controlling the DigiLocker authentication and sign-up user experience.
Unix epoch timestamp (milliseconds) after which the consent request expires. Must be at least 1 hour in the future.