🚀 Ship faster with premium components 🚀
Search documentation v1.5.0

API Reference

How to use the interactive API docs

Webcore CMS includes a built-in API explorer powered by Scalar, available during local development. It covers every endpoint used by the CMS and lets you inspect request parameters, response shapes, and test calls directly from the browser, no external tooling required.

The explorer is available at:

Unlock CMS
API Explorer
http://localhost:4321/docs/api
API documentation by Scalar
The API explorer is only available in local development with an authenticated session and necessary permissions. It is excluded from production builds and will not be accessible on your deployed site.

Covered Endpoints

The explorer documents the following endpoint groups:

GroupDescription
Auth Login, logout, and current user session
Content Types Managing content type definitions
Content Entries Managing content entries
Content Fields Managing fields belonging to a content type
Content Blocks Managing blocks within a content entry
Content States Managing workflow states for content entries
Roles Managing user roles and permissions
Users Managing user accounts and role reassignment
Public Public-facing endpoints for fetching blocks from an entry
Schema Working with block schemas for content blocks