Flambe docs

API reference

Every public Flambe endpoint, generated from the OpenAPI spec and verified against the running server.

All 131 public operations, grouped by resource in the sidebar. Each page carries the full request and response schema, examples, and an interactive playground.

The spec

The reference is rendered from a single OpenAPI 3.1 document, which you can also consume directly:

The API serves the same document at api.flambe.dev/openapi.json, byte-identical and verified on every build — so a client generated from either URL describes the same API.

It is safe to generate from. Three checks run in CI: every mounted route must be documented and vice versa, every field the API validates must appear in the request schema, and every operation must say what success looks like. Each fails the build rather than warning. How this reference stays true explains what that does and does not guarantee.

Deliberately excluded from the public surface: service-to-service endpoints under /api/internal, operator-only endpoints under /api/admin, and the inbound /api/webhooks handlers. They exist, but no token issued to a third-party integration can call them.

Before you start

  • Base URLhttps://api.flambe.dev. No sandbox host; use a test user.
  • AuthAuthorization: Bearer <clerk session jwt> on everything except GET /health and GET /api/shared/{token}. See Authentication.
  • Casingsnake_case, except timers, which are camelCase.
  • Errors{ "error": "..." }, or { "errors": [...] } when validation failed. See Errors and retries.

Where to start reading

On this page