POST
/
api
/
aibot
/
data-source
/
pdf
curl --request POST \
  --url https://app.livechatai.com/api/aibot/data-source/pdf \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "title": "PDF Source Title",
  "content": [
    {
      "text": "PDF source content",
      "page": 1
    }
  ],
  "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
PDF data-source details

The body is of type object.

Response

200

PDF data-source added successfully