Skip to main content
Knowledge BaseVersion: v3

Create a new knowledge base (max 15 knowledge bases per location)

POST/knowledge-bases

Creates a new knowledge base for a location (maximum 15 per location). WHEN TO USE: use this when you need to add a brand-new knowledge source; use updateKnowledgeBase to rename one; use create (FAQs) or trainDiscoveredUrls to add content. RETURNS: success and the created knowledge base, including its server-assigned id.

Authorizations

Authorizationstringheaderrequired

Bearer authentication header of the form Bearer <token>, where <token> is your access token.

Scope:knowledge-bases.write
Auth methods:OAuthPrivate Integration
Token type:Sub-Account Token

Request​

Headers

Versionstringrequired

API Version

Available optionsv3
Example:v3

Body

namestringrequired

Name of the knowledge base

Example:My Knowledge Base
descriptionstring

Optional description of the knowledge base

Example:A knowledge base for customer support FAQs
locationIdstringrequired

The location ID this knowledge base belongs to

Example:qIyivCmsuEOSnyoFYEej

Response

Knowledge base created successfully

successbooleanrequired

Success status of the operation

Example:true
dataobjectrequired

Created knowledge base details