POST https://cms.thepublive.com/publisher/{publisher_id}/category/
Creates a new category.
Headers
| Name | Type | Required | Description |
|---|---|---|---|
| username | string | Yes | API Key |
| password | string | Yes | API Secret |
| Content-Type | string | Yes | application/json |
Request Body
| Field | Type | Required | Description |
|---|---|---|---|
name* | string | Yes | Category name |
english_name* | string | Yes | English name (for permalink generation) |
slug | string | No | Custom slug (auto-generated if omitted) |
meta_title | string | No | SEO title |
h1_tag | string | No | H1 heading tag |
meta_description | string | No | SEO description |
priority | integer | No | Priority level (1-1000) |
content | string | No | Category description (HTML) |
category_brand_color | string | No | Brand color (hex) |
content_type | string | No | Content type filter (e.g., Article, Web Story) |
Example Request
- 201: Created
- 400: Bad Request