API reference
The Confabulous backend exposes a JSON HTTP API used by the web frontend, the confab CLI, and external integrations. All endpoints are prefixed with /api/v1 unless otherwise noted.
Authentication
Section titled “Authentication”Two methods:
- API key (Bearer token, used by the CLI) —
Authorization: Bearer cfb_.... - Session cookie (used by the web UI) —
confab_sessioncookie, set after OAuth or password login. CSRF is enforced via Fetch metadata validation; no token required.
Full authentication reference →
Endpoint groups
Section titled “Endpoint groups”CLI endpoints (API key auth)
Section titled “CLI endpoints (API key auth)”The bulk of the upload pipeline. Used by the confab CLI to register sessions and stream transcript chunks in real time as sessions progress.
GET /api/v1/auth/validate— validate an API key.POST /api/v1/sync/init— start or resume a sync session.POST /api/v1/sync/chunk— upload a transcript chunk.POST /api/v1/sync/complete— finalize an upload.
External API endpoints (API key auth)
Section titled “External API endpoints (API key auth)”For programmatic integrations — third-party tools that want to query sessions or analytics.
Web endpoints (session auth)
Section titled “Web endpoints (session auth)”Everything the dashboard talks to: list sessions, fetch session detail, regenerate smart recap, manage shares, trends, TILs.
OAuth endpoints
Section titled “OAuth endpoints”OAuth callback URLs for GitHub, Google, and generic OIDC providers.
Admin endpoints (super-admin only)
Section titled “Admin endpoints (super-admin only)”User management, activation, storage monitoring.
Public endpoints (no auth)
Section titled “Public endpoints (no auth)”Shared-session view, health checks, public assets.
Conventions
Section titled “Conventions”- Error responses — uniform error envelope.
- Rate limits — per-user and per-endpoint.
- Request body size limits.
- Email domain restrictions —
ALLOWED_EMAIL_DOMAINSenforcement. - Read-only identity (Demo Mode) — how mutating requests from the demo user are blocked.