v1

latestOpenAPI 3.0.02026-07-26254134307.1 KB
Knowledge Bases

Create a knowledge base

Creates a knowledge base.

Required scope: knowledge_bases:write

post/knowledge_bases

Request body

namestring required

Name of the knowledge base

type'internal' | 'external'

Determines if the knowledge base is publicly available or private only to your company

Example request

{
  "type": "internal"
}

Response

A knowledge base with content

idstring required

Unique identifier of the knowledge base

namestring 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_atnumber

Timestamp when the knowledge base was created

updated_atnumber

Timestamp when the knowledge base was updated

Example response

{
  "_links": {
    "self": "https://yourCompany.api.frontapp.com/knowledge_bases/knb_12",
    "related": {
      "articles": "https://yourCompany.api.frontapp.com/knowledge_bases/knb_12/articles",
      "categories": "https://yourCompany.api.frontapp.com/knowledge_bases/knb_12/categories"
    }
  },
  "id": "knb_12",
  "name": "Company Help Center",
  "status": "unpublished",
  "type": "internal",
  "locale": "en",
  "created_at": 1622672452.363,
  "updated_at": 1654309308.278
}