Developer Documentation · docs.sitefabric.space

Multiple Sites. One Fabric.

The engine to build, launch, and manage multiple high-converting lead-generation websites from one unified control plane — powering technical SEO, CMS content delivery, dynamic lead capture forms, CRM pipelines, and deployments.

Technical SEO API

Rank every lead-gen site with centralized per-path metadata, JSON-LD structured data, dynamic sitemaps, robots.txt, live 301/302 redirects, and automated SEO audits.

Content (CMS) API

Deliver landing pages, blogs, service collections, navigation menus, draft previews, and Cloudflare R2 media assets with instant on-demand cache revalidation.

Lead Forms & Capture API

Define versioned quote/contact forms with honeypot spam protection and route every submission directly into your centralized SiteFabric CRM lead pipeline.

@sitefabric/next SDK & CLI

Scaffold standalone Next.js 15 lead-gen websites with sitefabric create project, render CMS blocks and lead forms, and enforce Edge redirects & maintenance mode.

Base URL & Conventions

Website Delivery & Runtime Endpoints

Scoped by your website slug (:key). Require strict Authorization: Bearer sf_tok_... authentication from your Next.js Server Components or Edge middleware.

http
GET https://api.sitefabric.space/api/v1/public/websites/:key/...
Authorization: Bearer sf_tok_your_auth_token
Management Endpoints (Authenticated)

Manage SEO rules, CMS drafts, lead forms, and releases using a personal sf_tok_... auth token or Bearer JWT.

http
Authorization: Bearer sf_tok_your_auth_token
Launch a new lead-generation website in under 2 minutes

Authenticate once via config.yml and scaffold standalone Next.js 15 projects connected to SiteFabric CRM.

View CLI Quickstart