After ABHA creation - send OTP to verify email (optional)
Optional. Sends an ABDM OTP to an email address so it can be linked to the newly created ABHA. Send the txnId from the previous enrolment step.
Endpoint: POST /abha/api/v3/enrollment/request/otp
Flow: Create ABHA - Fingerprint - step 4 of 7
- Previous: After ABHA creation - verify mobile OTP (optional)
- Next: After ABHA creation - verify email OTP (optional)
Headers (plus Authorization: Bearer <gateway token>):
| Header | Required | Description |
|---|---|---|
| REQUEST-ID | yes | Unique UUID for every request. |
| TIMESTAMP | yes | Current UTC timestamp in ISO-8601 format. |
Request body for this use case:
| Field | Value / Type | Required | Description |
|---|---|---|---|
txnId |
string | yes | Transaction ID returned by the previous step of this flow. |
scope |
["ABHA-enrol", "email-verify"] |
yes | Scope that selects this use case. Send exactly the values listed for this API. |
loginHint |
"email" |
yes | Type of identifier sent in loginId. |
loginId |
string | yes | Identifier value, RSA-encrypted with the ABHA public certificate. |
otpSystem |
"ABDM" |
yes | System that generates and delivers the OTP (Aadhaar = UIDAI, ABDM = ABDM). |
Responses
200Success: Email Verify via OTP-positive flow
txnIdstringmessagestring400Bad Request (request validation failed): ABHA Verify via Email-Invalid scope; ABHA Verify via Email-Invalid LoginId; ABHA Verify via Email-Invalid Login Hint
scopestringtimestampstring401Unauthorized (invalid / expired gateway token, X-token or benefit access): Email verify via OTP-Invalid access token
codestringmessagestringdescriptionstring