Skip to main content
POST
/
v1
/
kyc
/
digilocker
/
file
Download File
curl --request POST \
  --url https://production.deepvue.tech/v1/kyc/digilocker/file \
  --header 'Content-Type: application/json' \
  --header 'client-id: <api-key>' \
  --header 'x-api-key: <api-key>' \
  --data '
{
  "consent": "<string>",
  "purpose": "<string>",
  "initial_deepvue_transaction_id": "<string>",
  "uri": "<string>"
}
'
{
  "code": 200,
  "timestamp": null,
  "transaction_id": "string",
  "sub_code": "SUCCESS",
  "message": "Issued files fetched successfully.",
  "data": "string"
}

Authorizations

x-api-key
string
header
required

The CLIENT_SECRET provided to you. This header parameter is required for authentication purposes.

client-id
string
header
required

The CLIENT_ID provided to you. This header parameter is required for authentication purposes.

Body

application/json

Indicates whether the user has provided consent for the download.

purpose
string
required

The purpose of the file download request.

initial_deepvue_transaction_id
string
required

The unique transaction id associated with the request.

uri
string
required

Response

Successful Response