---
title: "Create an article"
method: POST
path: "/v1/knowledge-base/articles"
tags: ["Knowledge Center"]
---

# Create an article

`POST /v1/knowledge-base/articles`

## Request

- Base URL: `https://api.vidocu.ai`
- URL: `https://api.vidocu.ai/v1/knowledge-base/articles`
- Auth: one of:
  - HTTP bearer
  - OAuth 2 (authorization code, authorization URL `https://vidocu.ai/oauth/authorize`, token URL `https://api.vidocu.ai/oauth/token`)

**Scope:** `knowledge_base:write`

**Role permission:** `canCreate` (OAuth only — API keys carry full workspace permissions)

## Request body

- object
  - `sectionId` string, required
  - `title` string, required
  - `slug` string, required
  - `content` string, required
  - `excerpt` string
  - `state` 'draft' | 'published' | 'archived'
  - `visibility` 'public' | 'staff' | 'customers'
  - `linkedVideoId` string
  - `tagIds` string[]
  - `sourceLocale` string

## Response `201`

Created

## Other responses

- `400`: Validation error
- `401`: Invalid or missing credentials
- `403`: Missing scope (`insufficient_scope`), insufficient role (`insufficient_role`), or quota exhausted (`limit_exceeded`)
- `409`: Slug taken, or the linked video is awaiting approval
- `429`: Rate limit exceeded (60 req/min)
- `500`: Server error

---

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