Fetch a document
POST {{base_url}}/api/digilocker/:requestId/document
Request Body
{"docType"=>"ADHAR", "format"=>"pdf", "consent"=>"Y"}
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
x-client-id | string | ||
x-client-secret | string |
RESPONSES
status: OK
{"fileUrl":"s3_url of the file to be downloaded","validUpto":"2021-09-21T09:12:12+05:30"}