Skip to main content

Download ABHA card

Endpoint: GET /abha/api/v3/profile/account/download-ABHA-card

GET/abha/api/v3/profile/account/download-abha-card

Flow: ABHA Card & Profile - independent API; call the one that fits your identifier / modality.


Downloads the ABHA card of the logged-in user (X-token).

Note: This API is only in the Postman collection (ABHA Profile/3. ABHA Card/3.4). The response is assumed to be a PDF / binary card, the same as Retrieve ABHA Card image.

Authorizations

Authorizationbearer tokenRequired

The access token from POST /api/hiecm/gateway/v3/sessions, sent with a Bearer prefix.

Headers

X-tokenstringRequired

User token (Bearer <token>) received after ABHA creation / login.

REQUEST-IDstringRequired

Unique UUID for every request.

TIMESTAMPstringRequired

Current UTC timestamp in ISO-8601 format.

Responses

200

ABHA card file.

400

Invalid X-token.

Error codes for this module

messagestring
timestampstring
401

Unauthorized.

Everything returns 401

codestring
messagestring
descriptionstring
500

Internal Server Error.

Error codes for this module