Skip to main content
POST
Upload a document file to the knowledge base.

Authorizations

X-API-Key
string
header
required

Company API key - scoped to a specific company. Generate from the Integrations page in your dashboard.

Body

application/json

Document upload (multipart form)

Multipart form data for document upload

companyId
string
required

Company ID

path
string
default:/

Path to store document (default: /)

premiumPdf
boolean
default:false

Use premium PDF processing

tags
string

Comma-separated tags

Response

Document uploaded successfully

Success response

msg
string

Success message