Skip to content

Reference

HTTP API

The panel's HTTP API — session-cookie for the browser, Bearer CLI token for automation.

Updated Edit this page on GitHub

Everything the panel UI does goes through its HTTP API under /api/* on your panel URL. Two authentication methods exist:

MethodHowUsed by
Session cookiePOST /api/auth/login → Set-Cookie hipno_sessionThe browser UI
Bearer tokenAuthorization: Bearer <cli-token> (root-only file data/cli-token.json)The hypno CLI, automation

A few endpoints

EndpointPurpose
GET /api/auth/sessionCurrent session + user
GET /api/system/overviewVersion, uptime, host info
GET /api/dashboard/liveLive CPU/mem/disk/net metrics
GET /api/websites · POST /api/websitesList / create websites
GET /api/dns/zonesDNS zones + Cloudflare link state
GET /api/apps · POST /api/appsList / create apps
GET /api/auditAudit log (paginated, filterable)
GET /api/system/tunnelRelay tunnel status + access URL

Errors are JSON: { "error": "…", "code": "…" } with a meaningful HTTP status. All list endpoints are paginated; all mutating endpoints are audit-logged and role-checked (admin / developer / viewer).