Skip to main content
GET
/
kyc
/
digilocker
/
sessions
/
{session_id}
/
user
/
profile
Get User Profile
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"
}
https://mintcdn.com/sandboxfinancialtechnologiesprivatelimited/9R19aQQ6ZD9_5iIN/static/svg/Postman.svg?fit=max&auto=format&n=9R19aQQ6ZD9_5iIN&q=85&s=3f44f5c9e4d8b761c9447be03a2f5f96

Run in Postman

User profile details can only be fetched if the user has provided consent for it.

Headers

x-api-key
string
required

API key for identification

Authorization
string
required

JWT access token

x-api-version
string
required

Path Parameters

session_id
string
required

Session identifier generated during DigiLocker Initiate Session API .

Response

200 - application/json
code
integer
required

HTTP status code.

timestamp
integer
required

Unix timestamp (in milliseconds) indicating when the server generated the response.

data
object
required

Response payload containing the requested data or error details.

transaction_id
string
required

Unique identifier for tracking the request across systems.