Documentation
Follow these five steps to go from zero to delivering content through the API.
Sign up for a free CuberIQ Starter account. No credit card required. You get 1 space, 5 content models, and 1,000 entries to start building immediately.
# Sign in at the dashboard open https://dash.cuberiq.com # Then create an API key under # Settings -> API Keys and export it export CUBERIQ_API_KEY=your_key_here
A Space is your content workspace. It holds all your content models, entries, and assets. Think of it as a project container.
# Create a new space via the REST API
curl -X POST https://api.cuberiq.com/v2/spaces \
-H "Authorization: Bearer $CUBERIQ_API_KEY" \
-H "Content-Type: application/json" \
-d '{"name":"my-blog"}'
# Response:
# { "id": "sp_a1b2c3d4e5", "environment": "master" }Content Models define the structure of your content. Add fields like text, rich text, media, references, and more.
{
"name": "blogPost",
"displayName": "Blog Post",
"fields": [
{ "id": "title", "type": "Text", "required": true },
{ "id": "slug", "type": "Symbol", "unique": true },
{ "id": "body", "type": "RichText" },
{ "id": "author", "type": "Reference", "linkType": "Entry" },
{ "id": "coverImage", "type": "Media" },
{ "id": "publishedAt", "type": "DateTime" }
]
}Create entries through the web dashboard or the API. Each entry follows the structure defined by its content model.
# Create an entry via the REST API
curl -X POST https://api.cuberiq.com/v2/spaces/sp_a1b2c3d4e5/entries \
-H "Authorization: Bearer $CUBERIQ_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "blogPost",
"fields": {
"title": "Hello World",
"slug": "hello-world",
"publishedAt": "2026-04-06T00:00:00Z"
}
}'Retrieve your content using the REST or GraphQL API from any HTTP client. Official SDKs are in development.
// Fetch all blog posts with plain fetch()
const res = await fetch(
"https://api.cuberiq.com/v2/spaces/sp_a1b2c3d4e5/entries" +
"?model=blogPost&orderBy=-publishedAt&limit=10",
{
headers: {
Authorization: `Bearer ${process.env.CUBERIQ_API_KEY}`,
},
}
);
const posts = await res.json();
console.log(posts.items);Start building with CuberIQ today. Free tier includes everything you need to get started.