Skip to main content
The Content Delivery Service (CDS) is a read-only API for your frontend. It serves published content — posts, categories, tags, authors, and site configuration — and is safe to call from your server-rendered pages.
The CDS is designed for reading content only. To create or modify content, see the Manage Content (CMS) quickstart.

Prerequisites

You need three values from the Publive Dashboard:

Step 1: Build your auth token

The CDS uses HTTP Basic Auth. Encode your key and secret together:
This outputs a token like dXNlcjpwYXNz. Store it as an environment variable:
Never include this token in client-side JavaScript. All CDS calls should be made server-side or through a backend proxy.

Step 2: Fetch your first posts

Response:
The data array contains your published posts. Use page_no and per_page to paginate — add ?page=2&limit=10 to the URL to walk through results.

Step 3: Fetch a single post

Use the id from any post in the listing response:
You can also fetch by URL path, which is useful when routing on your frontend:

Step 4: Fetch site configuration

The CDS serves your site’s navigation structure so your frontend stays in sync with editorial changes:

Step 5: Filter content

The CDS supports advanced filtering with field lookups. Append filter parameters to any listing endpoint:
Each request should include your Authorization header.
CDS responses include Cache-Tags headers (e.g. PP.12345, CAT.1) that you can pass to your CDN for precise cache invalidation when content changes.

What’s next?

Manage Content (CMS)

Create, update, and publish content via the CMS API

Framework Guides

Integrate with Next.js, React, Vue, or Angular

CDS API Reference

Full endpoint reference for all CDS routes

JavaScript SDK

Use the official SDK instead of raw HTTP calls
Last modified on July 21, 2026