Skip to main content
GET
/
api
/
client
/
fetch-profile-data
Fetch DigiLocker profile verification data
curl --request GET \
  --url https://bgv.konnectnxt.com/api/api/client/fetch-profile-data \
  --header 'Authorization: Bearer <token>'
{
  "status": "success",
  "code": 200,
  "message": "Data fetched successfully",
  "data": {
    "name": "John Doe",
    "email": "john.doe@example.com",
    "phone_number": "9876543210",
    "dob": "NA",
    "gender": "NA",
    "fetched_records": {
      "pan_adv_check": {
        "dob": "1990-05-15",
        "name": "JOHN DOE",
        "gender": "Male",
        "pan_number": "ABCDE1234F",
        "marital_status": "Single",
        "address": {
          "pin": "400001",
          "house": "Flat 101",
          "line1": "Building Name",
          "line2": "Street Name",
          "state": "Maharashtra",
          "country": "India",
          "district": "Mumbai",
          "landmark": "Near Park",
          "locality": "Andheri",
          "addr_type": "Residential",
          "village_town_city": "Mumbai"
        }
      },
      "aadhaar_adv_check": {
        "dob": "1990-05-15",
        "name": "JOHN DOE",
        "gender": "Male",
        "aadhaar_number": "xxxxxxxx8300",
        "profile_picture": "https://example.com/photo.jpg",
        "address": {
          "state": "Maharashtra",
          "street": "Main Street",
          "country": "India",
          "pincode": "400001",
          "district": "Mumbai",
          "landmark": "Near Railway Station",
          "location": "Andheri West",
          "postoffice": "Andheri",
          "village_town_city": "Mumbai"
        }
      }
    }
  }
}

Response Structure

The API returns verification data based on the documents that were requested during the DigiLocker profile creation. The fetched_records object will contain only the verification types that were initiated.

Conditional Response Fields

ScenarioResponse ContainsDescription
Aadhaar Onlyaadhaar_adv_checkOnly Aadhaar verification data is returned if only Aadhaar was requested
PAN Onlypan_adv_checkOnly PAN verification data is returned if only PAN was requested
Both Documentspan_adv_check + aadhaar_adv_checkBoth verification records are returned if both documents were requested

PAN Verification Fields (pan_adv_check)

FieldTypeDescription
dobstringDate of birth from PAN records
namestringFull name as per PAN
genderstringGender (Male/Female)
pan_numberstringPAN number (format: ABCDE1234F)
marital_statusstringMarital status of the PAN holder
addressobjectComplete address object with pin, house, line1, line2, state, country, district, landmark, locality, addr_type, village_town_city

Aadhaar Verification Fields (aadhaar_adv_check)

FieldTypeDescription
dobstringDate of birth from Aadhaar
namestringFull name as per Aadhaar
genderstringGender (Male/Female)
aadhaar_numberstringMasked Aadhaar number (format: xxxxxxxx1234)
profile_picturestringURL to profile photo from Aadhaar
addressobjectComplete address object with state, street, country, pincode, district, landmark, location, postoffice, village_town_city

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Query Parameters

case
string<uuid>
required

UUID of the DigiLocker BGV case

Response

DigiLocker profile data fetched successfully

status
string
required
Example:

"success"

code
integer
required
Example:

200

message
string
required
Example:

"Data fetched successfully"

data
object
required