cURL
curl --request POST \ --url https://api.eka.care/abdm/na/v1/profile/login/init \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "identifier": "<string>", "method": "phr_address" } '
{ "hint": "<string>", "txn_id": "<string>" }
Generates an OTP for login. Supports login via Aadhaar number, mobile number, ABHA number, and ABHA address.
The API requires a Bearer token (JWT) for authentication.
Eka User ID (OID)
Partner User ID
Partner HIP ID
The identifier for the selected login method.
"9876543210"
The method used for login.
phr_address
abha_number
mobile
aadhaar_number
"mobile"
OK
Transaction ID for the next API call.
Was this page helpful?