DigilockerIssued Files

DigiLocker Issued Files — List User Documents

Retrieve the full list of government-issued documents available in a user's DigiLocker. Includes document type, issuer, and URI.

curl -X POST "https://production.deepvue.tech/v1/kyc/digilocker/issued-files" \
  -H "Content-Type: application/json" \
  -H "x-api-key: YOUR_API_KEY" \
  -H "client-id: YOUR_API_KEY" \
  -d '{
  "consent": "example_string",
  "purpose": "example_string",
  "initial_deepvue_transaction_id": "example_string"
}'
{
  "code": 200,
  "timestamp": null,
  "transaction_id": "string",
  "sub_code": "SUCCESS",
  "message": "Issued files fetched successfully.",
  "data": [
    {
      "name": "string",
      "type": "string",
      "size": "string",
      "date": "string",
      "parent": "string",
      "mime": [
        "string"
      ],
      "uri": "string",
      "doctype": "string",
      "description": "string",
      "issuerid": "string",
      "issuer": "string"
    }
  ]
}
POST
/v1/kyc/digilocker/issued-files
POST
API Key (header: x-api-key)
x-api-keystring
Required

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

The CLIENT_SECRET provided to you. This header parameter is required for authentication purposes.
API Key (header: client-id)
client-idstring
Required

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

The CLIENT_ID provided to you. This header parameter is required for authentication purposes.
Content-Typestring
Required

The media type of the request body

Options: application/json
purposestring
Required

Specifies the purpose for the request related to the issued files.

initial_deepvue_transaction_idstring
Required

Represents the unique identifier for the initial DeepVue transaction.

Request Preview
Response

Response will appear here after sending the request

Authentication

header
x-api-keystring
Required

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

header
client-idstring
Required

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

Body

application/json
purposestring
Required

Specifies the purpose for the request related to the issued files.

initial_deepvue_transaction_idstring
Required

Represents the unique identifier for the initial DeepVue transaction.

Responses

codeinteger
timestampinteger
transaction_idstring
sub_codestring
messagestring
dataarray

This API retrieves the list of issued documents stored within a user's DigiLocker account. It operates as part of Deepvue's broader DigiLocker integration suite.

Users must provide explicit consent before operations proceed. You must store consent at your end to maintain compliance standards.