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/:slug

Query / path parameters

NameInRequiredDescription
collectionpathYesThe collection's API name
slugpathYesThe entry slug
depthqueryNoResolve reference fields to this depth (default 0)
variantsqueryNoComma-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"