Connect
- Webhooks
General Tools
- Self Assessments
- Medical Document Parsing
- Medical Speech Understanding
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 Records
- Create
- Read
- Update
- Delete
- Webhooks
User App
- Notifications
- Vital
- Webhooks
- Privacy
Release Notes
- ABDM Connect
Login
Verify
Verifies the login OTP. If logging in via ABHA address, this endpoint also completes the login process.
POST
/
abdm
/
na
/
v1
/
profile
/
login
/
verify
curl --request POST \
--url https://api.eka.care/abdm/na/v1/profile/login/verify \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"otp": "<string>",
"txn_id": "<string>"
}'
{
"abha_profiles": [
{
"abha_address": "<string>",
"name": "<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
},
"skip_state": "<string>",
"txn_id": "<string>"
}
Authorizations
The API requires a Bearer token (JWT) for authentication.
Body
application/json
Otp received in the user mobile no.
Transaction id received in the previous api response
Response
200
application/json
OK
ABHA address associated with the user.
ABHA number assigned to the user.
Address of the user.
Day of birth of the user.
User's first name.
Gender of the user (M - Male, F - Female, O - Other).
Available options:
M
, F
, O
Indicates whether the user’s KYC is verified.
User's last name.
User's middle name.
Mobile number of the user.
Month of birth of the user.
Pincode of the user's address.
Year of birth of the user.
curl --request POST \
--url https://api.eka.care/abdm/na/v1/profile/login/verify \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"otp": "<string>",
"txn_id": "<string>"
}'
{
"abha_profiles": [
{
"abha_address": "<string>",
"name": "<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
},
"skip_state": "<string>",
"txn_id": "<string>"
}