Developers and API

How do developers work with BetterCMS?

Developers work with BetterCMS through its content API, its SDKs, a CLI and an MCP server, and shape the content model in the schema builder. BetterCMS is headless by default and serves content to any framework over the API. It also ships a page builder, so a team that wants one tool can stay inside it rather than build a front end first.

The split most teams settle on is that a developer owns the content model and the components, and a marketer owns the pages composed from them.

Read the full answer

More on this topic

Which frameworks does BetterCMS work with?

Any framework that can call an HTTP API works, and Astro and Next.js have first class paths. A headless setup pulls content into your own build. A hybrid setup keeps marketing pages in the BetterCMS page builder and hands the app or the docs to your framework, against the same content model.

Is there an API and are there SDKs?

Yes. Every content type defined in the schema builder is readable over the API the moment it exists, with no endpoint to write by hand. SDKs wrap the same API for the common frameworks. API keys are issued per project and the key is shown once at creation, so a leaked key is replaced rather than recovered.

Can I define the content model in code?

The schema builder is visual, and its output is a JSON schema you can read, diff and copy from a live panel next to the model. Fields, groups, relationships and validation rules all live there. Changing a model does not require a migration step, so a field added on Tuesday is queryable on Tuesday.

What is the MCP server for?

The MCP server lets an AI coding assistant read and change BetterCMS content through the same tools a person uses. An assistant inside your editor can look up a content model, draft an entry, or propose a change without anyone copying content between two windows. The CLI covers the same ground from a terminal.

All questions

Still have a question left

Thirty minutes with the product team, and a straight answer.