Quickstart
Fetch your first published entry from Atlas CMS in under five minutes.
Quickstart
This guide shows how to read published content from Atlas through the Public API.
Before you begin: make sure you have created a content type, added at least one published entry, and generated an API key — all from the Atlas dashboard.
1. Generate an API key
Open the Atlas dashboard → Settings → API Keys → Create API Key.
Copy the key — it is only shown once. Store it in a shell variable:
export ATLAS_KEY="atlas_live_abc123xyz"2. List published entries
Use GET /public/entries with the type parameter set to your content type's slug.
curl "https://api.atlas.latellu.com/api/v1/public/entries?type=article" \
-H "X-API-Key: $ATLAS_KEY"{
"success": true,
"message": "Success",
"data": [
{
"slug": "getting-started-with-headless-cms",
"status": "published",
"data": {
"title": "Getting Started with Headless CMS",
"summary": "A beginner-friendly introduction to decoupled content management.",
"published_at": "2026-05-10T08:00:00Z"
}
},
{
"slug": "api-driven-content-strategy",
"status": "published",
"data": {
"title": "API-Driven Content Strategy for Modern Teams",
"summary": "How leading companies structure their content for multi-channel delivery.",
"published_at": "2026-05-03T08:00:00Z"
}
}
],
"meta": {
"total": 38,
"page": 1,
"limit": 10,
"next_cursor": "eyJpZCI6IDEwfQ"
}
}The keys inside data match the fields you defined on the content type in the
dashboard. Use the Schema Explorer to see a
content type's field names before building your UI.
3. Fetch a single entry
curl "https://api.atlas.latellu.com/api/v1/public/entries/getting-started-with-headless-cms" \
-H "X-API-Key: $ATLAS_KEY"{
"success": true,
"data": {
"slug": "getting-started-with-headless-cms",
"status": "published",
"data": {
"title": "Getting Started with Headless CMS",
"summary": "A beginner-friendly introduction to decoupled content management.",
"cover_image": {
"url": "https://cdn.atlas.latellu.com/blog/covers/headless-cms-intro.webp",
"width": 1200,
"height": 630,
"alt": "Headless CMS illustration"
},
"author": {
"slug": "arya-santoso",
"data": { "name": "Arya Santoso" }
},
"published_at": "2026-05-10T08:00:00Z"
}
}
}4. Request a specific locale
Pass ?locale= to receive field values in a specific language. Atlas falls back to
the default locale if no translation exists for that entry.
curl "https://api.atlas.latellu.com/api/v1/public/entries/getting-started-with-headless-cms?locale=id" \
-H "X-API-Key: $ATLAS_KEY"{
"success": true,
"data": {
"slug": "getting-started-with-headless-cms",
"status": "published",
"data": {
"title": "Getting Started with Headless CMS",
"summary": "A beginner-friendly introduction to decoupled content management."
},
"translations": {
"id": {
"data": {
"title": "Memulai dengan Headless CMS",
"summary": "Pengenalan ramah pemula untuk manajemen konten terpisah."
}
}
}
}
}See Localization for how locales and translations work.
5. Paginate and filter
curl "https://api.atlas.latellu.com/api/v1/public/entries?type=article&page=2&limit=20&sort=created_at:desc" \
-H "X-API-Key: $ATLAS_KEY"See Pagination & Filtering for the full set of query parameters.
Next Steps
- Authentication — key scoping, environment flags, and security best practices.
- Entries — entry structure, the
dataobject, and draft preview. - Localization — locale fallback, translations shape.
- API Reference — full endpoint reference for Entry, Page, and Media.