DigiLocker consent scope
curl --request POST \
--url https://api.privue.ai/digilocker/v1/scope.1 \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"request_id": "652523835a9f9000112b1ee6"
}
'import requests
url = "https://api.privue.ai/digilocker/v1/scope.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/scope.1', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"details": {
"scope": [
"files.issueddocs",
"issued/in.gov.uidai-ADHAR-XXXXXXXX1234",
"issued/in.gov.transport-DRVLC-TN8920000007545",
"userdetails",
"email",
"picture"
]
}
}{
"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 consent scope
Read what the person gave access to in their DigiLocker consent.
POST
/
digilocker
/
v1
/
scope.1
DigiLocker consent scope
curl --request POST \
--url https://api.privue.ai/digilocker/v1/scope.1 \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"request_id": "652523835a9f9000112b1ee6"
}
'import requests
url = "https://api.privue.ai/digilocker/v1/scope.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/scope.1', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"details": {
"scope": [
"files.issueddocs",
"issued/in.gov.uidai-ADHAR-XXXXXXXX1234",
"issued/in.gov.transport-DRVLC-TN8920000007545",
"userdetails",
"email",
"picture"
]
}
}{
"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
What the person gave access to in their consent.
Everything the consent covers
Show child attributes
Show child attributes
