provider Knowledge Bases POST /knowledge_bases/{knowledge_base_id}/articles
@utdk/front /knowledge_bases/{knowledge_base_id}/articles
Create article in a knowledge base in default locale
Creates an article in a knowledge base in the default locale. Required scope: `knowledge_bases:write`
knowledge_base_id path required
The ID of the knowledge base to create the article in
string

Try it

Authentication
Configure credentials for Core API
Gateway
The gateway proxies requests and injects credentials server-side. Configure credentials above, then enter your gateway URL.

Saved automatically to browser storage.

createArticleInAKnowledgeBaseInDefaultLocale
POST/knowledge_bases/{knowledge_base_id}/articles
Creates an article in a knowledge base in the default locale. Required scope: `knowledge_bases:write`

Parameters

required

The ID of the knowledge base to create the article in

Input

ID of the category this article belongs to

Teammate ID of the article author

Subject of the article

HTML content of the article

Article status

Enter a gateway URL above to enable sending.

Code snippet
Updates live as you fill in the form above.

TypeScript

import front from '@utdk/front';

await front.createArticleInAKnowledgeBaseInDefaultLocale({
  "knowledge_base_id": "knb_123",
  "status": "draft"
})