customer-engagement
knowledge-base
knowledge-base-articles

Create article

Creates a new knowledge base article with the provided content, tags, and category assignment.

post/knowledge-base/1/articles

Request

  • Base URL
    https://api.infobip.com (the document declares no server; this is the origin it was published from)
  • Auth
    • OAuth 2
      Client credentials
      Token URL: https://api.infobip.com/auth/1/oauth2/token
    • or API key in header Authorization
    • or API key in header Authorization
    • or HTTP basic

Request body

namestring required

Name of the article.

contentstring required

Content of the article in HTML format.

status'PUBLISHED' | 'DRAFT' required

Workflow status of the article.

tagsstring[] required

List of tag names to assign to the article.

linksstring[] required

List of attachment identifiers to link to the article.

categoryIdstring uuid required

Category identifier to assign the article to.

folderIdstring uuid

Folder identifier within the category.

Example request

{
  "name": "Getting Started with SMS API",
  "content": "<h1>Introduction</h1><p>This guide covers the basics of the SMS API.</p>",
  "status": "PUBLISHED",
  "tags": [
    "sms",
    "api",
    "getting-started"
  ],
  "links": [
    "3fa85f64-5717-4562-b3fc-2c963f66afa6"
  ],
  "categoryId": "a1b2c3d4-5678-9012-abcd-ef1234567890",
  "folderId": "b2c3d4e5-6789-0123-bcde-f12345678901"
}

Response

Article created successfully

idstring uuid required

Unique identifier of the article.

Example response

{
  "id": "3fa85f64-5717-4562-b3fc-2c963f66afa6"
}

Changes

No recorded changes to this operation across all 1 revision of this API.