Content
Get an entry
Read a single PUBLISHED entry by slug. Authenticate with a content.read API key (Authorization: Bearer …). The slug is matched against the collection's configured preview.slugField (defaults to "slug"). Only liveData is returned; use ?depth= to resolve references and ?variants= for personalization.
GET
/api/v1/public/content/:collection/:slugQuery / path parameters
| Name | In | Required | Description |
|---|---|---|---|
| collection | path | Yes | The collection's API name |
| slug | path | Yes | The entry slug |
| depth | query | No | Resolve reference fields to this depth (default 0) |
| variants | query | No | Comma-separated variant ids; returns personalization-resolved values |
Responses
200
JSON { doc } — the published entry
401
Missing or invalid API token
404
Collection or entry not found
Example request
curl -X GET "https://glu.so/api/v1/public/content/:collection/:slug" \ -H "Authorization: Bearer YOUR_API_KEY"