Profile · ABDM V3 Sandbox
Request login OTP
Start a login flow for an existing ABHA profile and request an OTP through ABDM.
API requirements
Creates a profile-login transaction associated with the selected login identifier.
- The account must already exist in the sandbox.
- Set loginHint to abha-number, abha-address, or mobile, and ensure loginId matches that identifier.
- Choose otpSystem as abdm or aadhaar according to the test account and desired OTP route.
Request fields
| Field | Type | Required | Requirement |
|---|---|---|---|
| scope | array<string> | Yes | Use ["abha-login", "mobile-verify"]. |
| loginHint | string | Yes | One of abha-number, abha-address, or mobile. |
| loginId | string | Yes | Identifier corresponding to loginHint. |
| otpSystem | string | Yes | Use abdm or aadhaar. |
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.
After this request
Use the returned transaction ID and delivered OTP on Login — Verify OTP.
Send request
POST https://abhasbx.abdm.gov.in/abha/api/v3/profile/login/request/otp