ABDM API — Authentication

Beta

Last updated: 26 August 2026

Browse Documentation

/auth_token — POST (public, no token)

Issues the Firebase ID token used to authenticate every other endpoint. The token has an expiration time of 15 to 30 minutes. To obtain your email and password, contact Nice HMS directly.

Request fields

NameTypeRequiredDescription
emailstringYesValid email (your Nice HMS integration credential).
passwordstringYesNon-empty password.
returnSecureTokenbooleanNoOptional; ignored in most flows.

Example request

{
  "email": "integrator@example.com",
  "password": "your-password",
  "returnSecureToken": true
}

Example response

{
  "token": "eyJhbGciOiJSUzI1NiIsImtpZCI6..."
}

Response shape

FieldTypeDescription
tokenstringFirebase ID token. Pass as Authorization: Bearer <token> on all other endpoints.

Error codes

  • VALIDATION_ERROR (400) — malformed body (bad email / missing password).
  • UNAUTHORIZED (401) — invalid email or password.
  • DB_ERROR (500) · INTERNAL_ERROR (500)

Notes: This endpoint is public (no token required) and does not check subscription.

Was this page helpful?
Index
NICE HMS. 1st Gate Nehru Stadium, City Hubballi, District Dhrawad, State Karnataka, 580020
INDIA, Phone : +919611560555 email admin@nicehms.com, GST 29AEYPB4702Q1ZS
facebook
twitter
linkedin
youtube
RSS