Skip to main content
POST
Create a blog category

Authorizations

Authorization
string
header
required

API token for authentication

Query Parameters

workspace_id
string
required

The ID of the workspace. Passed in the query string, not the body.

Body

application/json
name
string
required
Maximum string length: 255
Example:

"Product"

slug
string
required

Lowercase letters, digits and single hyphens. Must be unique among the workspace's categories.

Maximum string length: 100
Pattern: ^[a-z0-9]+(?:-[a-z0-9]+)*$
Example:

"product"

description
string
Example:

"Release notes and product announcements."

seo
object

Search and social metadata for the page, exposed to the blog theme.

Response

Category created

category
object
required