API Reference

Content API

Read your published content over HTTP from any website, app, or server — no session or cookies required. Model content in gluso, publish it, and fetch it as clean JSON keyed by your fields' API names.

Base URL

All Content API requests go to your gluso origin:

https://glu.so/api/v1/public/content

Only published entries are exposed. Drafts are never returned by the public API.

Quick start

  1. Create an API key. Go to Settings → Space → Developers and create a key with the content.read scope. The key is bound to your space.
  2. Publish an entry. Drafts stay private; the public API serves an entry's published data only.
  3. Fetch it. Use the collection's API name (shown in the entry editor's API tab) and your key:
curl 'https://glu.so/api/v1/public/content/posts' \
  -H 'Authorization: Bearer YOUR_API_KEY'

Endpoints

GET /content/:collectionList a collection’s published entries.
GET /content/:collection/:slugFetch a single published entry by slug.

Ready to fetch your content?

Create a key, publish an entry, and your content is one request away.