List contents

List published content entries for the site. Supports pagination, locale filter, tag and category filters, slug lookup, and date ranges. Reads pass through the public-field serializer; admin-only fields (author_id, organization_id, internal flags) are stripped.

GET/contents
Base URLhttps://api.lynkow.com/public/{siteId}

Query parameters

authorId
string

Author user ID

categoryIds
string[]

Array of strings

contentMode
enum("standard" | "structured")

One of: standard, structured

dateFrom
string

Filter from date (ISO 8601)

dateTo
string

Filter until date (ISO 8601)

excludeIds
string[]

Array of strings

groupByTranslation
boolean

Boolean

hasCategory
boolean

Boolean

hasTag
boolean

Boolean

ids
string[]

Array of strings

limit
number

Number <= 200

Max: 200

locale
string

BCP 47 locale code (e.g. "en", "fr")

page
number

Number

publishedFrom
string

Filter by publish date from (ISO 8601)

publishedTo
string

Filter by publish date until (ISO 8601)

slug
string

URL-friendly identifier, unique per site and locale

slugs
string[]

Array of strings

sortBy
enum("created_at" | "updated_at" | "published_at" | "title" | "slug" | "display_order")

One of: created_at, updated_at, published_at, title, slug, display_order

sortOrder
enum("asc" | "desc")

One of: asc, desc

status
enum("draft" | "published" | "archived" | "scheduled")

One of: draft, published, archived, scheduled

tagIds
string[]

Array of strings

translationGroupId
string

Translation group UUID (links translations across locales)

type
string

Resource type

Feedback

Was this page helpful?