Content API
Other apps, such as a mobile app or a separate front end, can read and write a site's content over HTTP. Make a key under API in the site's admin and send it as Authorization: Bearer <key>.
| Request | What it returns |
|---|---|
GET /api/v1/site | The site's name and languages, and each collection with its fields. |
GET /api/v1/content/<collection> | Published entries of a collection. |
GET /api/v1/content/<collection>/<alias> | One entry. |
GET /api/v1/menus/<key> | A menu with its items. |
POST /api/v1/content/<collection> | Create an entry, when the key has the write scope. |
Keys belong to one site and carry scopes, so a read-only key cannot change anything. The "mcp" scope lets an AI agent use the MCP tools remotely.