This API is used to create a new ABHA address
curl --request POST \
--url https://api.eka.care/abdm/na/v1/registration/aadhaar/create-phr \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"abha_address": "shyam.eka@abdm",
"txn_id": "<string>"
}'
{
"eka": {
"min_token": "<string>",
"oid": null,
"uuid": null
},
"hint": "<string>",
"profile": {
"abha_address": "shyam@abdm",
"abha_number": "12-3456-7856-8912",
"address": null,
"day_of_birth": null,
"first_name": null,
"gender": "M",
"kyc_verified": null,
"last_name": null,
"middle_name": null,
"mobile": null,
"month_of_birth": null,
"pincode": null,
"year_of_birth": null
},
"refresh_token": null,
"skip_state": "abha_end",
"token": null,
"txn_id": "<string>"
}
The API requires a Bearer token (JWT) for authentication.
OK
The response is of type object
.
Was this page helpful?
curl --request POST \
--url https://api.eka.care/abdm/na/v1/registration/aadhaar/create-phr \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"abha_address": "shyam.eka@abdm",
"txn_id": "<string>"
}'
{
"eka": {
"min_token": "<string>",
"oid": null,
"uuid": null
},
"hint": "<string>",
"profile": {
"abha_address": "shyam@abdm",
"abha_number": "12-3456-7856-8912",
"address": null,
"day_of_birth": null,
"first_name": null,
"gender": "M",
"kyc_verified": null,
"last_name": null,
"middle_name": null,
"mobile": null,
"month_of_birth": null,
"pincode": null,
"year_of_birth": null
},
"refresh_token": null,
"skip_state": "abha_end",
"token": null,
"txn_id": "<string>"
}
This API is used to create a new ABHA address
curl --request POST \
--url https://api.eka.care/abdm/na/v1/registration/aadhaar/create-phr \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"abha_address": "shyam.eka@abdm",
"txn_id": "<string>"
}'
{
"eka": {
"min_token": "<string>",
"oid": null,
"uuid": null
},
"hint": "<string>",
"profile": {
"abha_address": "shyam@abdm",
"abha_number": "12-3456-7856-8912",
"address": null,
"day_of_birth": null,
"first_name": null,
"gender": "M",
"kyc_verified": null,
"last_name": null,
"middle_name": null,
"mobile": null,
"month_of_birth": null,
"pincode": null,
"year_of_birth": null
},
"refresh_token": null,
"skip_state": "abha_end",
"token": null,
"txn_id": "<string>"
}
The API requires a Bearer token (JWT) for authentication.
OK
The response is of type object
.
Was this page helpful?
curl --request POST \
--url https://api.eka.care/abdm/na/v1/registration/aadhaar/create-phr \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"abha_address": "shyam.eka@abdm",
"txn_id": "<string>"
}'
{
"eka": {
"min_token": "<string>",
"oid": null,
"uuid": null
},
"hint": "<string>",
"profile": {
"abha_address": "shyam@abdm",
"abha_number": "12-3456-7856-8912",
"address": null,
"day_of_birth": null,
"first_name": null,
"gender": "M",
"kyc_verified": null,
"last_name": null,
"middle_name": null,
"mobile": null,
"month_of_birth": null,
"pincode": null,
"year_of_birth": null
},
"refresh_token": null,
"skip_state": "abha_end",
"token": null,
"txn_id": "<string>"
}