DigiLocker account details
curl --request POST \
--url https://api.privue.ai/digilocker/v1/details.1 \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"request_id": "652523835a9f9000112b1ee6"
}
'import requests
url = "https://api.privue.ai/digilocker/v1/details.1"
payload = { "request_id": "652523835a9f9000112b1ee6" }
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({request_id: '652523835a9f9000112b1ee6'})
};
fetch('https://api.privue.ai/digilocker/v1/details.1', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"details": {
"user_details": {
"digilocker_id": "f3102754-3555-5c30-a95c-0000b31680f0",
"name": "ASHA RAO",
"dob": "12/03/1990",
"gender": "F",
"eaadhaar": "Y",
"mobile": "9876543210"
},
"files": [
{
"name": "Aadhaar Card",
"type": "file",
"size": "",
"date": "04/10/2026",
"parent": "",
"mime": [
"application/pdf",
"application/xml"
],
"doc_type": "ADHAR",
"description": "Aadhaar Card",
"issuer_id": "in.gov.uidai",
"issuer": "Unique Identification Authority of India",
"id": "in.gov.uidai-ADHAR-XXXXXXXX1234"
},
{
"name": "Driving License",
"type": "file",
"size": "",
"date": "04/10/2026",
"parent": "",
"mime": [
"application/pdf",
"application/xml"
],
"doc_type": "DRVLC",
"description": "Driving License",
"issuer_id": "in.gov.transport",
"issuer": "Ministry of Road Transport and Highways",
"id": "in.gov.transport-DRVLC-TN8920000007545"
}
]
}
}{
"code": 123,
"timestamp": 123,
"message": "<string>"
}{
"code": 123,
"timestamp": 123,
"message": "<string>"
}{
"code": 123,
"timestamp": 123,
"message": "<string>"
}{
"code": 123,
"timestamp": 123,
"message": "<string>"
}{
"code": 123,
"timestamp": 123,
"message": "<string>"
}{
"code": 123,
"timestamp": 123,
"message": "<string>"
}{
"code": 123,
"timestamp": 123,
"message": "<string>"
}DigiLocker
DigiLocker account details
Read the DigiLocker account holder and every document issued into their account.
Each document’s id is its file id, which /digilocker/v1/files.1 reads the file of. A PAN that is not linked to the account is not listed; /digilocker/v1/pull-document.1 pulls it.
POST
/
digilocker
/
v1
/
details.1
DigiLocker account details
curl --request POST \
--url https://api.privue.ai/digilocker/v1/details.1 \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"request_id": "652523835a9f9000112b1ee6"
}
'import requests
url = "https://api.privue.ai/digilocker/v1/details.1"
payload = { "request_id": "652523835a9f9000112b1ee6" }
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({request_id: '652523835a9f9000112b1ee6'})
};
fetch('https://api.privue.ai/digilocker/v1/details.1', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"details": {
"user_details": {
"digilocker_id": "f3102754-3555-5c30-a95c-0000b31680f0",
"name": "ASHA RAO",
"dob": "12/03/1990",
"gender": "F",
"eaadhaar": "Y",
"mobile": "9876543210"
},
"files": [
{
"name": "Aadhaar Card",
"type": "file",
"size": "",
"date": "04/10/2026",
"parent": "",
"mime": [
"application/pdf",
"application/xml"
],
"doc_type": "ADHAR",
"description": "Aadhaar Card",
"issuer_id": "in.gov.uidai",
"issuer": "Unique Identification Authority of India",
"id": "in.gov.uidai-ADHAR-XXXXXXXX1234"
},
{
"name": "Driving License",
"type": "file",
"size": "",
"date": "04/10/2026",
"parent": "",
"mime": [
"application/pdf",
"application/xml"
],
"doc_type": "DRVLC",
"description": "Driving License",
"issuer_id": "in.gov.transport",
"issuer": "Ministry of Road Transport and Highways",
"id": "in.gov.transport-DRVLC-TN8920000007545"
}
]
}
}{
"code": 123,
"timestamp": 123,
"message": "<string>"
}{
"code": 123,
"timestamp": 123,
"message": "<string>"
}{
"code": 123,
"timestamp": 123,
"message": "<string>"
}{
"code": 123,
"timestamp": 123,
"message": "<string>"
}{
"code": 123,
"timestamp": 123,
"message": "<string>"
}{
"code": 123,
"timestamp": 123,
"message": "<string>"
}{
"code": 123,
"timestamp": 123,
"message": "<string>"
}Authorizations
Your API key, sent as Authorization: Bearer <your-key>.
Body
application/json
The consent to read through.
The request_id the consent link was created with
Minimum string length:
1Example:
"652523835a9f9000112b1ee6"
Response
Successful Response
The DigiLocker account holder, and every document issued into their account.
The account holder and their issued documents
Show child attributes
Show child attributes
