Authentication & permissions
Both the authenticated REST API and the MCP server use the same credential: a personal access token (PAT). This page is the one to read before minting one — the model has a property that people reliably guess wrong.
Minting a token
Sign in to the CMS and go to Settings → API Tokens. Every token is prefixed cms_pat_ and shown to you exactly once, in a reveal dialog, at creation time — the CMS never displays it again, so copy it somewhere safe immediately. If you lose it, revoke it and mint a new one.
A token can optionally be given an expiry (or set to never expire) and can be revoked at any time from the same page, which takes effect immediately.
PATs are server-side credentials. Never ship one to a browser, a mobile app, or any other client an end user can inspect — use it only from a server, script, or MCP client you control.
One token, one organization
A token is bound to exactly one organization at mint time, and that binding never moves. If you belong to more than one organization, you choose which one a token acts on when you create it — and you can hold separate tokens for separate organizations. A token can never read or write another organization's content, even one you also belong to.
The one exception is a Claude connection made with All my organizations on the sign-in page. It reaches every organization of its accounts, and each request says which one it acts in with an X-CMS-Workspace header (account/organization/site; see GET /api/cms/workspaces). A request that doesn't say is refused rather than guessed.
Optional: scoped to specific sites
If your organization publishes to more than one site (blog, docs, a partner site, …), a token can additionally be limited to a subset of them at mint time. A site-scoped token only sees posts targeting its sites, and may only create or change posts whose sites are all within its scope. Leave this unset to act on every site in the organization.
A token carries no permissions of its own
This is the property people get wrong. A token is not minted with a fixed set of rights. Instead, every request resolves the token's permissions live, from its owner's current membership role in the bound organization. If that person is later promoted, demoted, or removed from the organization, every one of their tokens reflects that change immediately — including ones minted long before.
The practical consequence: re-minting a token never changes what it can do. If a request is refused for a missing permission, the fix is the owner's role in that organization — not a new token.
Permission vocabulary
A small set of named permissions gate the API. The ones you'll hit most:
| Permission | Grants |
|---|---|
| content:view | Can view content in admin area |
| content:create | Can create new content |
| content:edit_any | Can edit content created by others, including reassigning a post's author to any other org member |
| content:publish | Can publish content directly without approval |
| content:approve | Can approve content for publication |
| categories:manage | Can create, edit, and delete categories |
Diagnosing a 403
Don't guess — ask the API. Both surfaces expose an identity check that names the bound organization, the token owner, their membership role there, and their full resolved permission set:
- REST:
GET /api/mewith the same bearer token. - MCP: call the
whoamitool.
A refusal almost always resolves to one of two things: the owner's role in that organization lacks the permission, or the token is bound to a different organization (or a different site scope) than you assumed.