Skip to main content
POST
Create a new category

Path Parameters

page_id
number
required

Page ID

Body

application/json
name
string
required

Category name

slug
string

Category slug

description
string

Category description

color
string

Category color (hex)

Response

201 - */*

Created category

id
number
required

Category ID

name
string
required

Category name

slug
string
required

Category slug

description
string
required

Category description

color
string
required

Category color

page_id
number
required

Page ID

created_at
string
required

Creation date

updated_at
string
required

Updated date