---
updatedAt: 2026-05-28T15:48:11.000Z
agentTools:
  projectIndex: https://dev.frontapp.com/llms.txt
---

# Create article in a knowledge base in specified locale

Create an article for a given locale in a knowledge base.

Required scope: `knowledge_bases:write`

# OpenAPI definition

```json
{
  "openapi": "3.0.0",
  "x-api-id": "front",
  "x-explorer-enabled": false,
  "x-proxy-enabled": true,
  "x-samples-enabled": true,
  "info": {
    "version": "1.0.0",
    "title": "Core API",
    "contact": {
      "name": "Front Platform",
      "url": "https://community.front.com"
    }
  },
  "security": [
    {
      "http": []
    }
  ],
  "servers": [
    {
      "url": "https://api2.frontapp.com"
    }
  ],
  "components": {
    "schemas": {
      "Attachment": {
        "type": "object",
        "required": [
          "id",
          "url",
          "filename",
          "content_type",
          "size",
          "metadata"
        ],
        "properties": {
          "id": {
            "type": "string",
            "description": "The unique identifier of the attachment.",
            "example": "fil_3q8a7mby"
          },
          "filename": {
            "type": "string",
            "description": "Name of the attached file",
            "example": "Andy_Anger_Management_Certificate.png"
          },
          "url": {
            "type": "string",
            "description": "URL to download the attached file",
            "example": "https://yourCompany.api.frontapp.com/download/fil_3q8a7mby"
          },
          "content_type": {
            "type": "string",
            "description": "Content type of the attached file in [MIME format](https://developer.mozilla.org/en-US/docs/Web/HTTP/Basics_of_HTTP/MIME_types/Common_types). Note that some attachments types may not be supported.",
            "example": "image/png"
          },
          "size": {
            "type": "integer",
            "description": "Size (in byte) of the attached file",
            "example": 4405
          },
          "metadata": {
            "description": "Attachment metadata",
            "type": "object",
            "properties": {
              "is_inline": {
                "type": "boolean",
                "description": "Whether or not the attachment is part of the message body",
                "example": true
              },
              "cid": {
                "type": "string",
                "description": "Unique identifier used to link an attachment to where it is used in the message body",
                "example": "526b45586d0e6b1c484afab63d1ef0be"
              }
            }
          }
        }
      },
      "KnowledgeBaseArticleCreate": {
        "type": "object",
        "properties": {
          "category_id": {
            "type": "string",
            "description": "ID of the category this article belongs to"
          },
          "author_id": {
            "type": "string",
            "description": "Teammate ID of the article author"
          },
          "subject": {
            "type": "string",
            "description": "Subject of the article"
          },
          "content": {
            "type": "string",
            "description": "HTML content of the article"
          },
          "status": {
            "type": "string",
            "enum": [
              "draft",
              "published"
            ],
            "default": "draft",
            "description": "Article status"
          }
        }
      },
      "KnowledgeBaseArticleResponse": {
        "type": "object",
        "required": [
          "_links",
          "id",
          "slug",
          "name",
          "status",
          "keywords",
          "content",
          "locale",
          "attachments"
        ],
        "properties": {
          "_links": {
            "type": "object",
            "properties": {
              "self": {
                "type": "string",
                "description": "Link to resource",
                "example": "https://yourCompany.api.frontapp.com/knowledge_base_articles/kba_12"
              },
              "related": {
                "type": "object",
                "properties": {
                  "knowledge_base": {
                    "type": "string",
                    "description": "Link to the article's knowledge base",
                    "example": "https://yourCompany.api.frontapp.com/knowledge_bases/knb_12"
                  },
                  "category": {
                    "type": "string",
                    "description": "Link to the article's category",
                    "example": "https://yourCompany.api.frontapp.com/knowledge_base_category/kbc_12"
                  },
                  "last_editor": {
                    "type": "string",
                    "description": "Link to the article's last editor",
                    "example": "https://yourCompany.api.frontapp.com/teammates/tea_6r55a"
                  }
                }
              }
            }
          },
          "id": {
            "type": "string",
            "description": "Unique identifier of the knowledge base article",
            "example": "kba_12"
          },
          "slug": {
            "type": "string",
            "description": "URL slug of the article. Construct the full URL using the template of protocol/knowledge base domain/locale/slug, such as https://yourDomain.com/en/articles/5",
            "example": "/articles/5"
          },
          "name": {
            "type": "string",
            "description": "Name of the article",
            "example": "Billing 101"
          },
          "status": {
            "type": "string",
            "description": "Status of the article",
            "example": "published"
          },
          "keywords": {
            "type": "array",
            "description": "Article keywords",
            "example": [
              "billing",
              "returns"
            ],
            "items": {
              "type": "string"
            }
          },
          "content": {
            "type": "string",
            "description": "Article HTML content",
            "example": "<h1>How to process a return</h1><p>To process a return...</p>"
          },
          "locale": {
            "type": "string",
            "description": "Locale of the article",
            "example": "en"
          },
          "attachments": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/Attachment"
            },
            "description": "List of files attached to the article"
          },
          "last_edited_at": {
            "type": "number",
            "description": "Timestamp when the article was last edited",
            "example": 1622672452.363
          },
          "created_at": {
            "type": "number",
            "description": "Timestamp when the article was created",
            "example": 1622672452.363
          },
          "updated_at": {
            "type": "number",
            "description": "Timestamp when the article was updated",
            "example": 1654309308.278
          }
        }
      }
    },
    "securitySchemes": {
      "http": {
        "type": "http",
        "scheme": "bearer",
        "bearerFormat": "JWT"
      }
    },
    "responses": {
      "knowledgeBaseArticle": {
        "description": "A knowledge base article with content",
        "content": {
          "application/json": {
            "schema": {
              "$ref": "#/components/schemas/KnowledgeBaseArticleResponse"
            }
          }
        }
      }
    }
  },
  "paths": {
    "/knowledge_bases/{knowledge_base_id}/locales/{locale}/articles": {
      "post": {
        "summary": "Create article in a knowledge base in specified locale",
        "operationId": "create-article-in-a-knowledge-base-in-specified-locale",
        "description": "Create an article for a given locale in a knowledge base.\n\nRequired scope: `knowledge_bases:write`",
        "tags": [
          "Knowledge Bases"
        ],
        "parameters": [
          {
            "in": "path",
            "name": "knowledge_base_id",
            "required": true,
            "description": "The ID of the knowledge base to create the article in",
            "schema": {
              "type": "string",
              "default": "knb_123"
            }
          },
          {
            "in": "path",
            "name": "locale",
            "required": true,
            "description": "The [locale](https://dev.frontapp.com/reference/knowledge-bases#locales) of the article's content",
            "schema": {
              "type": "string",
              "default": "en"
            }
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "required": [
                  "author_id",
                  "subject",
                  "content"
                ],
                "$ref": "#/components/schemas/KnowledgeBaseArticleCreate"
              }
            }
          }
        },
        "responses": {
          "201": {
            "$ref": "#/components/responses/knowledgeBaseArticle"
          }
        },
        "x-required-scopes": [
          "knowledge_bases:write"
        ]
      }
    }
  }
}
```