v2

latestOpenAPI 3.0.1Apache 2.0raw.githubusercontent.com2026-05-07132063.9 KB
KnowledgeBases

Create a Knowledge Base

Create a new Knowledge Base for the Twilio account. Accounts can have multiple knowledge bases. Each knowledge base can contain multiple knowledge resources such as documents, websites, or text content that can be used for context and information retrieval.

post/v2/ControlPlane/KnowledgeBases

Request body

displayNamestring required

Provides a unique and addressable name to be assigned to this Knowledge Base. This name is assigned by the developer and can be used in addition to the ID. It is intended to be human-readable and unique within the account.

descriptionstring

A human readable description of this resource, up to 128 characters.

Example request

{
  "displayName": "product-docs",
  "description": "Product documentation knowledge base for customer support"
}

Response

Knowledge Base creation request accepted.

messagestring
statusUrlstring

URI to check operation status.

Example response

{
  "message": "Knowledge Base creation request accepted for processing."
}