Fetch a consented document
Fetch the download links for the files DigiLocker issued for a consented document.
Each link is valid for about an hour, so retrieve the files while they are live. They come as the issuer signed them, so a signature check on one still verifies.
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Path Parameters
session_id from the initiate-session response
^[A-Za-z0-9_-]{8,64}$Document type to retrieve, from those consented to
aadhaar, pan, driving_license Response
Successful Response
Response to fetching a consented document.
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
The files DigiLocker issued for a consented document type.
The links are short-lived, so download the files while they are valid. They come as the issuer signed them, so a signature check on one still verifies.
