cURL
curl --request POST \ --url https://abdm.dev.unimetacare.com/api/m1/abha/search/verify/otp \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "scope": [ "abha-login", "abha-enrol" ], "txnId": "<string>", "otp": "<string>" } '
{ "success": true, "message": "<string>", "data": { "txnId": "<string>", "authResult": "<string>", "token": "<string>", "expiresIn": 123, "refreshToken": "<string>", "refreshExpiresIn": 123, "accounts": [ { "ABHANumber": "<string>", "preferredAbhaAddress": "<string>", "name": "<string>", "gender": "<string>", "dob": "<string>", "status": "<string>", "profilePhoto": "<string>", "kycVerified": true, "mobileVerified": true } ] } }
Verify the OTP to authenticate the selected ABHA account. Returns session tokens.
JWT token obtained from /api/m1/abha/token
["abha-login", "abha-enrol"]
"<string>"
OTP verified. Returns session tokens.
Show child attributes
Was this page helpful?