Profile · ABDM V3 Sandbox
Get ABHA Card
Retrieve an authenticated ABHA card image or PDF for the logged-in profile.
API requirements
Downloads a digital copy of the account card after profile login.
- Complete Login — Verify OTP and provide a valid profile token.
- Provide the ABHA number belonging to that authenticated profile.
- Select png or pdf. The console offers a download when the sandbox returns a binary card.
Request fields
| Field | Type | Required | Requirement |
|---|---|---|---|
| abhaNumber | string | Yes | ABHA number for the authenticated account. |
| type | string | Yes | Use png or pdf. |
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. X-TOKENcomes from the profile token in Settings.
After this request
When the response is a card file, use the Download response button. A JSON error response is shown inline.
Send request
POST https://abhasbx.abdm.gov.in/abha/api/v3/profile/account/getAbhaCard