Content API
The web address a CMS gives your code so it can fetch words, posts and images. How Vunora's content API reaches your pages, and what each key can do.
A content API is the web address a CMS gives your code so it can fetch content: the words on a page, a list of posts, an image. Your code sends a request with a key, and the CMS answers with the content as data. Your own code decides how it looks.
An example
Your blog page asks the CMS for the ten newest posts and draws each one as a card with your own component. When someone publishes a new post in the CMS, the next request brings it back too, and the page shows it with no change to the code.
In Vunora
When Vunora imports your site, its pull request adds a small helper file, src/lib/vunora.ts, or lib/vunora.ts when your repo has no src/ folder. It holds the API address, your site's id and a read key for that site. Each piece of text on a page reads from the helper and keeps your original words as the fallback. If Vunora cannot be reached, the page shows the words in your code.
A developer can also call the API directly. In the workspace's Settings, open API keys and events. The Developer access section shows the REST address, /api/v1/ followed by the kind of content, and the header that carries the key.
There are two kinds of key:
- A publishable key only reads published content, so it can sit in code that runs in a visitor's browser.
- A secret key can write. Vunora shows it once, when you create it, and keeps only a hash.
Every change sent through the API saves as a draft. A secret key publishes only when a workspace admin turns on its "May publish" switch: "Lets this key publish, and delete a live page or post. Off: changes from this key save as drafts." Without it, a publish request gets the answer "Saved as a draft. Publish it in Vunora."
Limits
- The files the import generates start with a line saying Vunora made them. A re-import rewrites them, so do not edit them by hand.
- Whoever makes a key picks its reach: the whole workspace, one client or one website. You cannot change it later. Make a new key instead.
Related terms
- Headless CMS: content kept apart from the code that shows it.
- MCP: how an AI coding tool reaches the same content.
- Static site generation: pages built ahead of time.


