Atlas CMS

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:

  1. Created a content type in the Atlas dashboard
  2. Added at least one published entry
  3. Generated an API key (see step 1 below)

1. Generate an API key

  1. Open the Atlas dashboard: https://cms.atlas.latellu.com
  2. Go to Settings → API Keys
  3. Click Create API Key, give it a name, and save
  4. Copy the key — it is only shown once

Store it in a shell variable:

Terminal
export ATLAS_KEY="atlas_live_abc123xyz"

API key prefix

Delivery API keys start with atlas_live_. This key grants read-only access to your workspace content via the Public API.

2. List published entries

Use GET /public/entries with the type parameter set to your content type's slug.

cURL
curl "https://api.atlas.latellu.com/api/v1/public/entries?type=article" \
  -H "X-API-Key: $ATLAS_KEY"
Response
{
  "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
curl "https://api.atlas.latellu.com/api/v1/public/entries/getting-started-with-headless-cms" \
  -H "X-API-Key: $ATLAS_KEY"
Response
{
  "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
curl "https://api.atlas.latellu.com/api/v1/public/entries/getting-started-with-headless-cms?locale=id" \
  -H "X-API-Key: $ATLAS_KEY"
Response
{
  "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": "Getting Started with Headless CMS",
          "summary": "A beginner-friendly introduction to decoupled content management."
        }
      }
    }
  }
}

See Localization for how locales and translations work.

5. Paginate and filter

cURL — page 2, 20 results, sorted newest first
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 data object, and draft preview.
  • Localization — locale fallback, translations shape.
  • API Reference — full endpoint reference for Entry, Page, and Media.

On this page