Fetch a document

POST {{base_url}}/api/digilocker/:requestId/document

Request Body

{"docType"=>"ADHAR", "format"=>"pdf", "consent"=>"Y"}

HEADERS

KeyDatatypeRequiredDescription
x-client-idstring
x-client-secretstring

RESPONSES

status: OK

{"fileUrl":"s3_url of the file to be downloaded","validUpto":"2021-09-21T09:12:12+05:30"}