cURL
curl --request POST \ --url https://api.eka.care/abdm/v1/session/verify \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "otp": "<string>", "txn_id": "<string>" } '
{ "refresh_token": "<unknown>", "token": "<string>" }
Verify mobile OTP and get user session token
The API requires a Bearer token (JWT) for authentication.
Eka User ID (OID)
Partner User ID
Partner HIP ID
OID is used to Identify the user. OID is used to Identify the user.
OTP received on the mobile number.
Transaction ID received in the session/init API response.
OK
Token used to obtain a new access token.
Access token for the user.
Was this page helpful?