---
title: "Create a knowledge base"
method: POST
path: "/knowledge_bases"
tags: ["Knowledge Bases"]
---

# Create a knowledge base

`POST /knowledge_bases`

Creates a knowledge base.

Required scope: `knowledge_bases:write`

## Request body

- KnowledgeBaseCreate
  - `name` string, required — Name of the knowledge base
  - `type` 'internal' | 'external' — Determines if the knowledge base is publicly available or private only to your company

## Response `201`

A knowledge base with content

- KnowledgeBaseResponse
  - `_links` object, required
    - `self` string — Link to resource
    - `related` object
      - `articles` string — Link to articles associated to the knowledge base
      - `categories` string — Link to categories associated to the knowledge base
  - `id` string, required — Unique identifier of the knowledge base
  - `name` string, required — Knowledge base name
  - `status` 'published' | 'unpublished', required — Status of the KB
  - `type` 'internal' | 'external', required — Type of the KB
  - `locale` 'fr' | 'en', required — Locale of this requested KB
  - `created_at` number — Timestamp when the knowledge base was created
  - `updated_at` number — Timestamp when the knowledge base was updated

---

[API](https://skmtc.net/frontapp/apis/core-api.md) · [All operations](https://skmtc.net/frontapp/apis/core-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/frontapp/core-api/revisions/76d1eaa2d0eb/schema)
