List categories

Returns a flat list of all categories for your site. Use `GET /categories/tree` for the nested hierarchy.

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

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?