ABHA enrollment & profile APIs
A focused PHP console for testing the ABDM V3 M1 enrollment and profile journeys. Configure your sandbox variables, authenticate, then work through each API on its own page.
Create sandbox session
Exchange your sandbox client credentials for a short-lived access token used by the M1 APIs.
Request enrollment OTP
Start a new ABHA enrollment flow by asking ABDM to send a one-time password to the Aadhaar-linked mobile.
Enroll by Aadhaar
Complete ABHA number creation by verifying the OTP issued during Aadhaar enrollment.
Enroll by ABDM
Alternate ABDM enrollment operation using an OTP-authenticated transaction and enrollment consent.
Request login OTP
Start a login flow for an existing ABHA profile and request an OTP through ABDM.
Verify login OTP
Verify the OTP for an existing ABHA account and obtain the profile token.
Get ABHA Card
Retrieve an authenticated ABHA card image or PDF for the logged-in profile.
Suggested M1 flow
- Save sandbox settings and create a gateway session.
- For new enrollment, request an OTP, then complete either Aadhaar or ABDM enrollment.
- For an existing sandbox profile, request a login OTP, verify it, then get the ABHA card.