StudioAPI Docs Get a key
View as Markdown
reference/rumah-sakit

Base path: /api/v1/rumah-sakit

Endpoints

MethodPathQueryDescription
GET/provinsi_id, kabupaten_id, jenis, kelas, page, per_pageList hospitals (max 200/page).
GET/searchq (min 2 chars)Search by name, limit 50.
GET/:idHospital by id with province/regency names.

Errors

  • VALIDATION_ERROR (400) — search q shorter than 2 characters.
  • NOT_FOUND (404) — id not found.