Skip to main content
POST
Start upload in parts

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Scopes

knowledge:write

Path Parameters

chatbotId
string
required

Chatbot ID.

Body

application/json
name
string
required
Required string length: 1 - 255
size
integer
required

The file's size in bytes: up to 1 GB for PDF, DOCX, PPTX and XLSX, up to 25 MB for other types.

Required range: x >= 1
type
string

The file's media type, for example application/pdf.

metadata
object

Response

Successful SiteGPT API v2 response.

ok
boolean
required
data
object
required
meta
object
required