Skip to main content

Authentication

Generated from the specifications. Every scheme and header below is declared in one of them.

Gateway session​

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

M1 Identity​

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

M2 Health Information Provider​

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

M3 Health Information User​

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

M4 Registry Integration​

bearerAuth, http bearer. M4 declares bearer authentication. The HPID calls publish POST /getManagementToken.

P1 Registration and login​

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

P2 Consents Management​

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

P3 Subscription​

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

P4 Locker​

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

Scan and Register​

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

Patient scan and record share​

bearerAuth, http bearer. JWT access token issued by the ABDM session API after successful validation of client id and secret.

HeaderRequiredWhat it is
REQUEST-IDyesRandom UUID, a v4 style guid, unique per request.
TIMESTAMPyesISO 8601 timestamp of when the request was initiated.
X-HIU-IDyesIdentifier of the health information user to which the request was intended.
X-CM-IDyesSuffix of the consent manager to which the request was intended. sbx in the sandbox, abdm in production.
X-AUTH-TOKENyesJWT access token issued by the PHR service after successful user authentication. If the HIP does not have any role, then it is mandatory.
request-idyesRandom UUID, a v4 style guid, unique per callback.
timestampyesISO 8601 timestamp of when the callback was sent.
x-hiu-idyesIdentifier of the health information user to which the request was intended.

Scan and Pay​

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