POST
/
api
/
aibot
/
data-source
/
qa
curl --request POST \
  --url https://app.livechatai.com/api/aibot/data-source/qa \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "question": "What is the capital of France?",
  "answer": "The capital of France is Paris.",
  "chatbotId": "c****************1cx4",
  "isGeneratedByAI": false
}'

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

The body is of type object.

Response

200

Q&A data-source added successfully