Rafterbase documentation
Guides and references for the delivery, preview and management APIs, webhooks, the SDK and the Next.js starter.
Quick start
Create a space, model content, publish an entry and fetch it.
Content modellingField types, validations, activation and migrations.
Content Delivery APIRead published content with a delivery token.
Content Management APIWrite content and manage the space with a management token.
Preview APIRead drafts with a preview token or a signed preview link.
Rich textThe structured document format and rendering.
WebhooksSigned deliveries, retries and verification.
TypeScript SDKThe typed client in packages/rafterbase-js.
Next.js starterexamples/next-site: articles, draft mode and revalidation.
Import and exportMove content between spaces.
Self-hostingEnvironment, worker, storage and mail.
Error codesEvery error is { error: { code, message, details } }.