curl --request GET \
--url https://api.sandbox.co.in/kyc/digilocker/sessions/{session_id}/user/profile \
--header 'Authorization: <authorization>' \
--header 'x-api-key: <x-api-key>'{
"code": 200,
"timestamp": 1744874068219,
"data": {
"id": "b5522c8f-2321-577b-8e73-ae1366d9c591",
"@entity": "in.co.sandbox.kyc.digilocker.user.profile",
"date_of_birth": 1071145000000,
"mobile": "9825013730",
"name": "Kaival Mehta",
"gender": "male",
"eaadhaar": true
},
"transaction_id": "0793c784-fcaa-44d9-b8fc-f6a382a67f70"
}Gets the User Profile Details from Digilocker like Name, Date of Birth, Gender, Mobile Number, Email Id.
curl --request GET \
--url https://api.sandbox.co.in/kyc/digilocker/sessions/{session_id}/user/profile \
--header 'Authorization: <authorization>' \
--header 'x-api-key: <x-api-key>'{
"code": 200,
"timestamp": 1744874068219,
"data": {
"id": "b5522c8f-2321-577b-8e73-ae1366d9c591",
"@entity": "in.co.sandbox.kyc.digilocker.user.profile",
"date_of_birth": 1071145000000,
"mobile": "9825013730",
"name": "Kaival Mehta",
"gender": "male",
"eaadhaar": true
},
"transaction_id": "0793c784-fcaa-44d9-b8fc-f6a382a67f70"
}JWT access token. For token-generation steps, refer to the Quickstart Guide.
API key used to identify and authenticate the client.
Specifies the API version for the request.
Session identifier generated during DigiLocker Initiate Session API .
HTTP status code.
Unix timestamp (in milliseconds) indicating when the server generated the response.
Response payload containing the requested data or error details.
Show child attributes
Unique identifier for tracking the request across systems.
Was this page helpful?