curl --request GET \
--url https://test-api.sandbox.co.in/kyc/digilocker-sdk/sessions/{session_id}/user/profile \
--header 'Authorization: <authorization>' \
--header 'x-api-key: <x-api-key>'{
"code": 200,
"timestamp": 1777276051968,
"data": {
"id": "b5522c8f-2321-577b-8e73-ae1366d9c591",
"@entity": "in.co.sandbox.kyc.digilocker.user.profile",
"date_of_birth": "18/08/2003",
"mobile": "9004813042",
"name": "Anurag Bansal",
"gender": "male",
"eaadhaar": true,
"email": ""
},
"transaction_id": "6e76fc24-2491-4582-8a03-685fbda4acf7"
}Gets the User Profile Details from Digilocker like Name, Date of Birth, Gender, Mobile Number, Email Id.
curl --request GET \
--url https://test-api.sandbox.co.in/kyc/digilocker-sdk/sessions/{session_id}/user/profile \
--header 'Authorization: <authorization>' \
--header 'x-api-key: <x-api-key>'{
"code": 200,
"timestamp": 1777276051968,
"data": {
"id": "b5522c8f-2321-577b-8e73-ae1366d9c591",
"@entity": "in.co.sandbox.kyc.digilocker.user.profile",
"date_of_birth": "18/08/2003",
"mobile": "9004813042",
"name": "Anurag Bansal",
"gender": "male",
"eaadhaar": true,
"email": ""
},
"transaction_id": "6e76fc24-2491-4582-8a03-685fbda4acf7"
}Documentation Index
Fetch the complete documentation index at: https://developer.sandbox.co.in/llms.txt
Use this file to discover all available pages before exploring further.
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 SDK Create 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?