List contents

Returns a paginated list of contents for your site. Supports filtering by status, category, tag, locale, date range, and full-text search. Results include content summaries (no body) for performance. Use `GET /contents/{id}` to retrieve the full body.

Required permissions
contents.view
GET/contents
Base URLhttps://api.lynkow.com/v1

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 <= 100

Max: 100

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?