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
- Create an API key. Go to Settings → Space → Developers and create a key with the
content.readscope. The key is bound to your space. - Publish an entry. Drafts stay private; the public API serves an entry's published data only.
- 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/:collection | List a collection’s published entries. |
| GET /content/:collection/:slug | Fetch a single published entry by slug. |
Ready to fetch your content?
Create a key, publish an entry, and your content is one request away.