Skip to main content
POST
Upload File

Authorizations

Authorization
string
header
required

Retrieve your API Key from Dashboard API Keys Section.

Body

multipart/form-data
file
file
required

This is the File you want to upload for use with the Knowledge Base.

Response

200 - application/json

File uploaded successfully

id
string

This is the unique identifier of the file.

Example:

"5f7b1b1b1b1b1b1b1b1b1b1b"

name
string

This is the name of the file.

Example:

"some_file.json"

type
string
Example:

"file"

teamId
string
Example:

"1f7b1b1b1b1b1b1b1b1b1b1b"

createdAt
string<date-time>

This is the ISO 8601 date-time string of when the record was created.

Example:

"2020-10-05T00:00:00.000Z"