Skip to main content
POST
Add pdf 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

PDF data-source details

title
string
required

Title of the PDF data-source

Example:

"PDF Source Title"

content
object[]
required

Array of objects containing PDF content and page numbers

chatbotId
string
required

Unique identifier of the chatbot

Example:

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

Response

PDF data-source added successfully