Skip to content

API Reference

Base path: /api/v1

  • Admin endpoints require HTTP Basic Auth using ADMIN_USER/ADMIN_PASS.
  • /api/v1/auth/login can issue a JWT but is not used by the current UI.

Quick test:

Terminal window
curl -u "$ADMIN_USER:$ADMIN_PASS" "$BACKEND_URL/api/v1/invoices" -s | head

Tip: Use Basic Auth for all admin endpoints; the current UI does not use JWT.