@IntegrationSupport
Postman response-
{
"healthIdNumber": "91-XXXXXXXXXX",
"healthId": "ankit.brijwasi@sbx",
"mobile": "8XXXXXXXX",
"firstName": "Ankit",
"middleName": "",
"lastName": "Brijwasi",
"name": "Ankit Brijwasi",
"yearOfBirth": "XXXX",
"dayOfBirth": "XX",
"monthOfBirth": "X",
"gender": "M",
"email": "some@email.com",
"profilePhoto": null,
"stateCode": "5",
"districtCode": "51",
"subDistrictCode": null,
"villageCode": null,
"townCode": null,
"wardCode": null,
"pincode": null,
"address": null,
"kycPhoto": null,
"stateName": "UTTARAKHAND",
"districtName": "NAINITAL",
"subdistrictName": null,
"villageName": null,
"townName": null,
"wardName": null,
"authMethods": [
"PASSWORD",
"DEMOGRAPHICS",
"AADHAAR_OTP",
"MOBILE_OTP",
"AADHAAR_BIO"
],
"tags": null,
"kycVerified": false,
"verificationStatus": null,
"verificationType": null,
"clientId": null,
"phrAddress": null,
"new": false,
"emailVerified": false
}
CURL command
curl --location 'https://healthidsbx.abdm.gov.in/api/v1/account/profile' \
--header 'Authorization: Bearer eyJhbGciOiJSUzI1NiIsInR5cCIgOiAiSldUIiwia2lkIiA6ICJBbFJiNVdDbThUbTlFSl9JZk85ejA2ajlvQ3Y1MXBLS0ZrbkdiX1RCdkswIn0.eyJleHAiOjE2ODQ4Mzg0NzMsImlhdCI6MTY4NDgzNzg3MywianRpIjoiNzQzZmYwNTgtZDQwNy00NjkzLWI5OTgtNDI2ODRmM2EzZTA2IiwiaXNzIjoiaHR0cHM6Ly9kZXYubmRobS5nb3YuaW4vYXV0aC9yZWFsbXMvY2VudHJhbC1yZWdpc3RyeSIsImF1ZCI6ImFjY291bnQiLCJzdWIiOiIyN2NhODk2My0wOGJiLTQ1ZmItYWFhYi1jNjg2NGFjMjcwNmEiLCJ0eXAiOiJCZWFyZXIiLCJhenAiOiJTQlhfMDAyMDc5Iiwic2Vzc2lvbl9zdGF0ZSI6IjkzMGMxMDYzLTliZTQtNGE4MS1hYTIwLTBkNTg0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rw' \
--data ''
Screenshot-
As you can see, the phrAddress
is coming as a null
, whereas, In ABHA service it was mentioned that this will be an array, containing the ABHA addresses of the user