/bff/post/list
Returns a paginated list of posts for the authenticated organisation. Default ordering: starred-first, archived-last, then newest published. Each post includes basic metadata, derived publication status, word count, reading time, main image URL, and associated tags.
Parameters
9 query
mainCategoryCodestringFilter posts by main category code. If not provided, all posts are returned.
localestringCommunication locale code used to filter content.
Supported locales: cs, en, fr, it, pl, de, sk, sv, es, zh, ja, uk, da.
statusstring | string | string | string | stringFilter by computed publication status (draft, scheduled, published, private, archived).
visibilitystring | string | string | stringFilter by raw visibility column.
hasMainImagestring"true" to keep only posts with a main image, "false" to keep only those without.
missingTranslationstring"true" to keep only posts missing a translation in at least one of the org's configured locales.
tagCodestringFilter posts by tag code (organisation-scoped). Only posts carrying this tag are returned.
orderBystringSort spec <field>:<asc|desc>. Allowed fields: publishedDate, updatedDate, insertedDate, title, wordCount, commentsCount, viewsCount, ratingAverage.
sortBystringAlias for orderBy (legacy).
Request
GET /bff/post/list
curl -X GET "https://api.bizkithub.com/bff/post/list?mainCategoryCode=example_mainCategoryCode&locale=cs&hasMainImage=example_hasMainImage&missingTranslation=example_missingTranslation&tagCode=example_tagCode&orderBy=publishedDate%3Adesc&sortBy=example_sortBy" \
-H "Content-Type: application/json" \
-H "Authorization: Bearer YOUR_API_KEY"Response
Paginated list of posts with metadata.
{
"items": [
{
"id": "example_id",
"title": "example_title",
"mainCategoryId": "example_mainCategoryId",
"mainCategoryName": "example_mainCategoryName",
"mainAuthorId": "example_mainAuthorId",
"mainAuthorName": "example_mainAuthorName",
"commentsCount": 0,
"mainImageUrl": "example_mainImageUrl",
"isStar": false,
"isDeleted": false,
"wordCount": 0,
"readingTimeMinutes": 0,
"hasPerex": false,
"tags": [
{
"id": 0,
"name": "example_name",
"code": "example_code",
"color": "example_color"
}
],
"translatedLocales": [
"string"
],
"viewsCount": 0,
"ratingAverage": 0,
"ratingCount": 0
}
],
"itemCount": 0
}All response codes
1 status code documented
Need an API key?
All BizKitHub API endpoints require authentication via API key.