Skip to main content
Categories provide hierarchical organization for your content. Every post must have a primary_category assigned before it can be published.

Category Object

FieldTypeEditableRequiredDescription
idintegerNoUnique category identifier
namestringYesYesCategory name
english_namestringNoYesEnglish name (used for permalink generation)
slugstringDashboard onlyURL-friendly slug
contentstring (HTML)YesNoCategory description
category_brand_colorstring (hex)YesNoBrand color for the category
child_categoriesarrayNoList of subcategories
parent_categoryobjectYesNoParent category details
meta_titlestringYesNoSEO meta title
meta_descriptionstringYesNoSEO meta description
absolute_urlstringAutoPublic-facing URL

Endpoints

MethodEndpointDescription
GET/category/List all categories
POST/category/Create a new category
GET/category/{id}/Retrieve a category
PATCH/category/{id}/Update a category
DELETE/category/{id}/Delete a category