Profile · ABDM V3 Sandbox
Verify login OTP
Verify the OTP for an existing ABHA account and obtain the profile token.
API requirements
Completes profile login. The returned profile token is required by protected profile operations such as ABHA Card download.
- First request a login OTP and use the exact transaction ID from that response.
- Enter the current OTP delivered to the account contact method.
- A successful response may return a profile token. It is stored in this session for the ABHA Card request.
Request fields
| Field | Type | Required | Requirement |
|---|---|---|---|
| authData.authMethods | array<string> | Yes | Use ["otp"]. |
| authData.otp.txnId | string | Yes | Transaction ID from Login — Request OTP. |
| authData.otp.otpValue | string | Yes | OTP delivered for this login transaction. |
Headers & variables
Content-Type: application/jsonandAccept: application/jsonare sent automatically.Authorization: Bearer accessTokenis added automatically; a session token is requested if none is saved.- A unique
REQUEST-IDand UTCTIMESTAMPare generated for each call. T-TOKENis taken from the body transaction ID or the saved transaction variable.
After this request
Use the session-stored profile token to call Get ABHA Card. If the response token field differs in your sandbox, copy it into Settings.
Send request
POST https://abhasbx.abdm.gov.in/abha/api/v3/profile/login/verify