---
title: "Create blog category"
method: POST
path: "/blog_categories"
tags: ["BlogCategories"]
---

# Create blog category

`POST /blog_categories`

## Request

- Base URL: `https://api.crevio.co/v1`
- URL: `https://api.crevio.co/v1/blog_categories`
- Auth: API key in header `Authorization`

Creates a blog category. File posts under it by passing its id or slug as `category` on a blog post.

## Headers

- `Idempotency-Key` string

## Request body

- object
  - `name` string, required: Unique within the account. Plain text, no HTML.
  - `slug` string: URL slug. Derived from the name when left out; a taken slug is refused.
  - `description` string, nullable

## Response `201`

Blog category created

- BlogCategory
  - `id` string, required
  - `object` string, required
  - `name` string, required
  - `slug` string, required
  - `description` string, nullable, required
  - `created_at` string, date-time, required
  - `updated_at` string, date-time, required
  - `blog_posts_count` integer, required

## Other responses

- `400`: Bad request
- `401`: Authentication required
- `403`: Forbidden
- `422`: Validation error
- `429`: Rate limit exceeded — 600 requests per minute per owner on the free tier: every API key and OAuth token one person holds on an account shares one budget, and the account's team keys share another. Retry after the number of seconds in `Retry-After`.
- `500`: Internal server error

## Changes

- **2026-12-05** `ccbd8fcbd6d7`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/crevio/apis/crevio-api-v1/changes/blog_categories/post.md)

---

[API](https://skmtc.dev/crevio/apis/crevio-api-v1.md) - [All operations](https://skmtc.dev/crevio/apis/crevio-api-v1/llms.txt) - [OpenAPI document](https://skmtc.dev/crevio/apis/crevio-api-v1/revisions/ccbd8fcbd6d7?raw)
