Skip to main content
POST
Upload document file

Authorizations

x-api-key
string
header
required

Send your Callin API key in the x-api-key header.

Body

multipart/form-data

Upload one or more files into a knowledge group (multipart/form-data). The group is created or matched by groupName.

groupName
string
required

Name of the knowledge group to create or add these documents to.

files
file[]
required

Files to upload. Each file must be PDF (.pdf), Word (.docx), or TSX (.tsx). Maximum 5 MB per file.

Minimum array length: 1

One file: PDF, DOCX, or TSX; max 5 MB.

Response

Document created

After uploading files: new or updated group, created documents, and storage usage (MB).

success
boolean
Example:

true

data
object

The details of the document created