AABDM M1 Sandbox Console
← All M1 APIs
Enrollment · ABDM V3 Sandbox

Enroll by ABDM

Alternate ABDM enrollment operation using an OTP-authenticated transaction and enrollment consent.

POST · Sandbox

API requirements

Completes ABHA enrollment through the ABDM enrollment route rather than the Aadhaar-specific route.

  • First request an enrollment OTP using the appropriate sandbox enrollment scope.
  • Supply the valid transaction ID and OTP that belong to the same enrollment attempt.
  • Use only identities and OTPs explicitly provided for sandbox testing.

Request fields

FieldTypeRequiredRequirement
authData.authMethodsarray<string>YesUse ["otp"].
authData.otp.txnIdstringYesTransaction ID from the enrollment OTP response.
authData.otp.otpValuestringYesOTP received for the enrollment transaction.
consent.codestringYesEnrollment consent identifier; sample value: abha-enrollment.
consent.versionstringYesConsent version; sample value: 1.4.

Headers & variables

  • Content-Type: application/json and Accept: application/json are sent automatically.
  • Authorization: Bearer accessToken is added automatically; a session token is requested if none is saved.
  • A unique REQUEST-ID and UTC TIMESTAMP are generated for each call.
  • T-TOKEN is taken from the body transaction ID or the saved transaction variable.

After this request

Review the response for ABHA number and profile details. The response can differ based on the sandbox identity.

Send request

POST https://abhasbx.abdm.gov.in/abha/api/v3/enrollment/enrol/byAbdm

Edit placeholders and values as needed. The body must remain a valid JSON object.