v1

latestOpenAPI 3.1.02026-07-13305453.8 KB
Categories

Create category

Create a new category. Requires a private API key.

post/v1/categories

Request body

namestring required
slugstring required
descriptionstring

Example request

{
  "name": "Technology",
  "slug": "technology",
  "description": "Tech news and tutorials"
}

Response

Category created successfully

Example response

{
  "category": {
    "id": "cryitfjp2345kl05weoybfk9",
    "name": "Technology",
    "slug": "technology",
    "description": "Tech news and tutorials"
  }
}