List blog categories

List published categories for the site. Returns a flat list with the computed `path` per the site's `blogUrlMode` (`with-categories` vs `flat`). Use `/categories/tree` for the nested representation.

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

Query parameters

dateFrom
string

Filter from date (ISO 8601)

dateTo
string

Filter until date (ISO 8601)

excludeIds
string[]

Array of strings

ids
string[]

Array of strings

includeChildren
boolean

Boolean

isRoot
boolean

Boolean

limit
number

Number <= 100

Max: 100

page
number

Number

parentId
any

Parent resource ID

slug
string

URL-friendly identifier, unique per site and locale

slugs
string[]

Array of strings

sortBy
enum("created_at" | "updated_at" | "name" | "slug" | "display_order")

One of: created_at, updated_at, name, slug, display_order

sortOrder
enum("asc" | "desc")

One of: asc, desc

Feedback

Was this page helpful?