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>' \
--header 'x-api-version: <x-api-version>'{
"code": 200,
"timestamp": 1771480620597,
"data": {
"id": "efa8ca1d-da67-4b53-9f01-dea19d454542",
"@entity": "in.co.sandbox.kyc.digilocker.user.profile",
"date_of_birth": "16/04/2005",
"mobile": "9825013730",
"name": "Kaival Hemanshu Mehta",
"gender": "male",
"eaadhaar": true,
"email": "kaivalhmehta@gmail.com"
},
"transaction_id": "df28eea5-58a2-4040-a1d1-559a98326c2b"
}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>' \
--header 'x-api-version: <x-api-version>'{
"code": 200,
"timestamp": 1771480620597,
"data": {
"id": "efa8ca1d-da67-4b53-9f01-dea19d454542",
"@entity": "in.co.sandbox.kyc.digilocker.user.profile",
"date_of_birth": "16/04/2005",
"mobile": "9825013730",
"name": "Kaival Hemanshu Mehta",
"gender": "male",
"eaadhaar": true,
"email": "kaivalhmehta@gmail.com"
},
"transaction_id": "df28eea5-58a2-4040-a1d1-559a98326c2b"
}API key for identification
JWT access token
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?