POST
/
api
/
aibot
/
data-source
/
text
curl --request POST \
  --url https://app.livechatai.com/api/aibot/data-source/text \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "title": "Company Overview",
  "content": "Our company specializes in AI-powered chatbot solutions...",
  "chatbotId": "c****************1cx4"
}'

Authorizations

Authorization
string
header
required

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

Body

application/json
Text data-source details
title
string
required

Title of the text data-source

Example:

"Company Overview"

content
string
required

Content of the text data-source

Example:

"Our company specializes in AI-powered chatbot solutions..."

chatbotId
string
required

Unique identifier of the chatbot

Example:

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

Response

200
_mintlify/placeholder

Text data-source added successfully