Skip to main content

Request a token for accessing a user’s ABHA

Request a token for accessing a user’s ABHA (Ayushman Bharat Health Account) profile.

GET/abha/api/v3/profile/account/request/token

This token is essential for authenticating and authorizing the user to perform various actions within their profile.

Authorizations

Authorizationbearer tokenRequired

Headers

R-tokenstringRequired
TIMESTAMPstringRequired
REQUEST-IDstringRequired

Responses

200

The token was successfully generated and sent to the user’s registered contact method.

400

The 400 response code indicates a bad request

Error codes for this module

401

The 401 response code indicates an unauthorized request. In this context, it refers to the lack of proper authentication during the operation of the Invalid Credentials <br><br>

Everything returns 401

404

A 404 Not Found error occurs when a server cannot find the requested resource. This error indicates that the server is reachable, but the specific page or resource is not available

Error codes for this module

500

<b>Internal Server Error</b><br><br> An Internal Server Error (500) indicates that the server encountered an unexpected condition that prevented it from fulfilling the request.

Error codes for this module