Fetch content with the Delivery API

7 min read

The delivery API is your fast read path. It is plain REST, authenticated with a bearer token, and returns content in the shape of your model. Here is everything you need to query it well.

The endpoint

List published entries for a project, newest first. Authenticate with any read token — the public read token is perfect for published content.

curl
curl https://your-domain.com/api/v1/your-project/documents \
  -H "Authorization: Bearer mjmt_your_public_read_token"

Filter, paginate and sort

Fetch with JavaScript

The same request from a front end — here listing blog posts and rendering their titles:

fetch
const res = await fetch(
  'https://your-domain.com/api/v1/your-project/documents?type=blog_post&sort=-created_at',
  { headers: { Authorization: 'Bearer mjmt_your_public_read_token' } }
);

const { results } = await res.json();
for (const post of results) {
  console.log(post.data.title, post.uid);
}

A single entry

curl
curl https://your-domain.com/api/v1/your-project/documents/42 \
  -H "Authorization: Bearer mjmt_your_public_read_token"

Responses are CDN-cacheable and carry an ETag, so repeat reads are fast and can be revalidated with a 304.

Next

Build it for real

Spin up a project and try this in your own space — free for 14 days.

© 2026 Mojimoto, Inc. 文 · モジモト