Connect
- Webhooks
HealthAI
- Assessment
- EkaScribe
General Tools
- Medical Document Parsing
Doctor Tool
- Actors
- Instructions
- Patient Registration API
- Doctor and clinic API
- Appointment API
- Payments API
- Prescription API
- Notify
- Webhooks
ABDM Connect
- Create and Login
- Overview
- Create
- Login
- Commons
- User Session
- Patient Requests
- Consents
- Care Contexts
- Providers
- Profile
- Scan & Share
- Errors
Medical Knowledge-bases
- Overview
- Protocols
- Medications
Medical Records
- Create
- Read
- Update
- Delete
- Webhooks
User App
- Notifications
- Vital
- Webhooks
- Privacy
Release Notes
- ABDM Connect
Aadhaar
Create
This API is used to create a new ABHA address
POST
/
abdm
/
na
/
v1
/
registration
/
aadhaar
/
create-phr
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>"
}
Authorizations
The API requires a Bearer token (JWT) for authentication.
Body
application/json
Response
200
application/json
OK
The response is of type object
.
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>"
}