Fetch document
Fetch Document
Pass the session id and the document type to fetch the document.
GET
Fetch document
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
A document can only be fetched if the user has provided consent for it.
Sample Responses
See sample XML responses returned by DigiLocker for Aadhaar, PAN and Driving License.
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.
Path Parameters
Session identifier generated during DigiLocker Initiate Session API .
Document type identifying which DigiLocker document to retrieve. Must match one of the consented doc_types values.
Available options:
aadhaar, pan, driving_license