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.
Run in Postman
Headers
JWT access token. For token-generation steps, refer to the Quickstart Guide.
Body
Purpose of the request, shown to the user on DigiLocker's consent screen. Defaults to Know Your Customer.
Use only letters, digits, spaces, and underscores. Other characters return 400.
See purpose text examples (CSV) for examples to use according to your use case.
^[A-Za-z0-9_ ]+$Name of the business requesting the documents, shown to the user on DigiLocker's consent screen. Letters, digits, spaces and underscores only, as DigiLocker requires; anything else returns 400. Defaults to your workspace's business name from the Sandbox console, with other characters replaced by spaces.
^[A-Za-z0-9_ ]+$