Skip to main content
POST
/
api
/
aibot
/
data-source
/
url
Add url data-source to chatbot
curl --request POST \
  --url https://app.livechatai.com/api/aibot/data-source/url \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "url": "https://www.example.com/about-us",
  "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

URL data-source details

url
string
required

URL of the data-source to be added

Example:

"https://www.example.com/about-us"

chatbotId
string
required

Unique identifier of the chatbot

Example:

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

Response

URL data-source added successfully