API Reference
System & Billing
Health checks, version, and the public billing plans endpoint.
Version
GET /api/v1/version{ "version": "dev" }Health checks
| Endpoint | Description |
|---|---|
GET /healthz | Liveness — process is up |
GET /readyz | Readiness — DB/cache/storage reachable (may report degraded) |
These live at the server root (not under /api/v1).
Billing plans
GET /api/v1/billing/plansPublic pricing list (for the website's pricing page).
curl "https://api.housemuslim.org/api/v1/billing/plans"const res = await fetch('https://api.housemuslim.org/api/v1/billing/plans');
const { data } = await res.json();{
"success": true,
"data": [
{
"id": "de7e3d0b-0634-44a1-a3a6-33ac5a40ea2c",
"code": "free",
"name": "Free",
"price_idr": 0,
"interval": "lifetime",
"active": true
}
]
}