---
title: "Create section"
method: POST
path: "/kb-sections"
tags: ["Sections"]
---

# Create section

`POST /kb-sections`

## Request

- Base URL: `https://api.weav.com/v1`
- URL: `https://api.weav.com/v1/kb-sections`
- Auth: HTTP bearer

## Request body

- object
  - `name` string, required
  - `slug` string, nullable
  - `position` integer, nullable

## Response `201`

Created

- KbSection
  - `id` string, uuid
  - `name` string
  - `slug` string
  - `position` integer, nullable
  - `created_at` string, date-time, nullable
  - `updated_at` string, date-time, nullable

## Other responses

- `422`: Validation error or slug already taken

---

[API](https://skmtc.dev/weav/apis/weav-api.md) · [All operations](https://skmtc.dev/weav/apis/weav-api/llms.txt) · [OpenAPI document](https://skmtc.dev/weav/apis/weav-api/revisions/15970f126c0e?raw)
