Fetch ABHA by Aadhaar number
Link or unlink a benefit record from an ABHA
One call does both directions. The success response names the scheme and confirms the link in a human readable status string rather than a code, so match on the HTTP status and the scheme, not on that text.
Authorizations
Authorizationbearer tokenRequiredThe accessToken from POST /api/hiecm/gateway/v3/sessions. Send it as Authorization: Bearer <ACCESS_TOKEN>.
Headers
REQUEST-IDstringRequiredUnique UUID v4 per request. Used for idempotency and distributed tracing. Generate a fresh UUID for every call.
TIMESTAMPstringRequiredISO 8601 UTC timestamp of the request.
BENEFIT_NAMEstringThe benefit scheme an enrolment belongs to. Send healthid api on the enrol and search calls, and healthid on the login OTP and verify calls under Find ABHA. On the enrolment OTP request the header is present but explicitly disabled, so it is not sent there.
A login OTP request sent with healthid api rather than healthid was accepted on the sandbox on 2026-09-11, so the login calls may take either.
NHA's files spell this header four different ways and use scheme values beyond healthid. Which spelling each endpoint accepts is not confirmed against the sandbox. The Conventions page for this module lists all four.
X-tokenstringThe user scoped token returned when a person logs in or verifies an OTP. Profile calls act on one account, so they need this in addition to the gateway token. Required on the calls that read or change a specific person's account.
Send the bare token. Unlike the Authorization header this one carries no Bearer prefix, and adding one is refused as ABDM-1094 with the message X-token expired. That message names the wrong thing: a token rejected one second after it was issued has not expired, it was malformed. Check the prefix before the lifetime.
Body
scopestring[]RequiredThe direction. Send ["de-link"] to de-link and ["link"] to link. Note the hyphen in de-link.
loginHintstringHow the account is identified when the call is not made with an X-token: the recorded variants send abha-number or xmlUid. Absent on the X-token variant.
loginIdstringThe identifier named by loginHint, RSA encrypted against the ABDM public key, never raw. Present only alongside loginHint.
Responses
200The benefit link status for the ABHA.