Skip to main content

ABHA biometric authentication

PMJAY requires proof that the beneficiary was physically present.

APIsโ€‹

CallCalled byMethod and pathWhat it does
Biometric auth initProviderPOST /hcx/abha/biometric/auth/initStarts a fingerprint or iris authentication of a PMJAY beneficiary against the ABHA registry and returns the txnId the verify call needs.
Biometric auth verifyProviderPOST /hcx/abha/biometric/auth/verifyCompletes the authentication started by Biometric auth init with the captured PID block, and returns the beneficiary's user token, valid thirty minutes.
Biometric auth refresh tokenProviderGET /hcx/abha/biometric/auth/refresh/tokenExchanges the refresh token from Biometric auth verify for a new thirty-minute user token without a fresh capture.
Face auth initProviderPOST /pmjay/sbxhcx/abdmproxy/abha/biometric/faceauth/initStarts a face authentication on the ABDM proxy host and returns the txnId the rest of the face flow quotes.
Face auth capture PIDProviderPOST /pmjay/sbxhcx/abdmproxy/abha/biometric/capture/pidPolls for the face capture the patient completes in the ABHA app after scanning the QR code for the txnId from Face auth init.
Face auth verifyProviderPOST /pmjay/sbxhcx/abdmproxy/abha/biometric/v2/auth/verifyCompletes a face authentication with the encrypted Aadhaar number, the Aadhaar-linked mobile and the txnId, and returns the beneficiary's user token.

Base URLsโ€‹

EnvironmentBase URL
Sandbox.https://apisbx.abdm.gov.in

The six calls share a hostname and split across two bases under it. A client configured with one base reaches only half of them.

ModalityBase, sandbox
Fingerprint, iris and token refreshhttps://apisbx.abdm.gov.in/hcx/abha/biometric/
Facehttps://apisbx.abdm.gov.in/pmjay/sbxhcx/abdmproxy/abha/biometric/

If fingerprint works and every face call fails, check the base before you check the face flow. Biometric authentication sets out both.

Guides that use these callsโ€‹

The whole specification, with a request you can send from the page, is the ABHA biometric authentication API reference.