Skip to main content
POST
Add Q&A data-source to chatbot

Authorizations

Authorization
string
header
required

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

Body

application/json

Q&A data-source details

question
string
required

Question for the Q&A data-source

Example:

"What is the capital of France?"

answer
string
required

Answer for the Q&A data-source

Example:

"The capital of France is Paris."

chatbotId
string
required

Unique identifier of the chatbot

Example:

"c****************1cx4"

isGeneratedByAI
boolean

Flag indicating if the answer is generated by AI

Example:

false

Response

Q&A data-source added successfully