/bff/post-category/create
Creates a new post category with localization and route. Automatically generates a unique external ID and URL slug from the name.
Post CategorypostBffPost-categoryCreate
Parameters
5 body
Body · 5
namestringRequiredCategory name.
Length: 1–255
localestringRequiredCommunication locale code used to filter content.
Supported locales: cs, en, fr, it, pl, de, sk, sv, es, zh, ja, uk, da.
Length: 2–2
parentIdstringParent category external ID. If not provided, creates a top-level category.
descriptionstringCategory description.
metaDescriptionstringSEO meta description (max 500 characters).
Length: 0–500
Request
POST /bff/post-category/create
curl -X POST "https://api.bizkithub.com/bff/post-category/create" \
-H "Content-Type: application/json" \
-H "Authorization: Bearer YOUR_API_KEY" \
-d '{
"name": "Tech News",
"locale": "cs",
"parentId": "abc123def456ghij",
"description": "Latest technology news and updates.",
"metaDescription": "Tech news, tutorials, and insights."
}'Response
JSON payload
{
"success": false,
"id": "abc123def456ghij"
}All response codes
1 status code documented
Need an API key?
All BizKitHub API endpoints require authentication via API key.