Reference — Overview
Lookup material that does not belong anywhere else. The Scalar-rendered API Reference, the Error Codes table, and the Changelog.
Reference is the dry, accurate layer of the docs. The API Reference is the single source of truth for every public endpoint, generated from the live OpenAPI spec and rendered with try-it-out. Error Codes is the lookup for "what does HTTP 422 with this code actually mean." The Changelog is the record of what shipped, in date order. Three pages, all lookup-shaped.
What this section is for#
Reach for these when you already know what you're looking for. The narrative docs (every other section) explain a concept and walk a workflow; Reference answers a single, specific question — what does this endpoint take, what does this error code mean, what changed last week.
Pages in this section#
How the API Reference is generated#
/api-reference renders a hand-curated OpenAPI spec via Scalar. The spec aggregates endpoints from every backend service that's in scope for external use — customer-facing storefront APIs plus operator management APIs — and intentionally hides internal-only paths (anything under /internal/* or /api/v1/admin/*).
What you'll find there
- 17 endpoint families — Authentication, Catalog, Subscriptions, Checkout, Embed widgets, Invoices & Payments, API keys, Agents & MCP, Coupons, Webhooks & Events, Usage ingestion, plus the operator management families (Customers, Products & Metrics, Rate Plans, Offerings, Entitlements, Quotes).
- Try-It-Out panels — paste a token, send a request, see the live response.
- Multi-language code samples — curl, Node, Python, Go, Java, PHP, Ruby.
- Auth-aware — Bearer +
X-Tenant-Idrequired on most endpoints.
Error codes — what they mean#
Aforo returns errors as RFC 7807 Problem Detail. Every error body carries:
See Error Codes for the full table of codes the platform returns, plus the recommended client behaviour (retry, surface to user, escalate).
Changelog — how to stay current#
Every shipped change gets a Changelog entry — new features, breaking changes, deprecations, bug fixes that touched a public surface. Three ways to follow it: