Retrieve the user’s ABHA profile
Retrieve the user’s ABHA (Ayushman Bharat Health Account) profile.
Access to this profile is granted after the successful verification of the OTP, ensuring the user’s profile information is secure. The 200 response code indicates a successful request. In this context, it signifies that the user was successfully verified with the OTP in the previous API call. A valid JWT token was provided, which authenticated the user and allowed access to their profile. As a result, the user profile was successfully retrieved, including all ABHA profile details. A Bad Request error with the description “invalid X-token” indicates that the server received a request with an invalid or missing authentication token. The 401 response code indicates that the request was not authorized due to invalid credentials. Ensure that your API invocation includes the appropriate authorization header. <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.Authorizations
Authorizationbearer tokenRequiredHeaders
X-tokenstringRequiredREQUEST-IDstringRequiredTIMESTAMPstringRequiredResponses
200400401500