Space Storage

Upload a file to space storage

Upload a file to space storage. The file path is specified in the URL after /upload/. The file can be specified either as a HTTP URL, a data URL, a multipart/form-data, or as a raw file stream. The maximum file size for uploads is determined dynamically based on user limits and configuration, and may vary.

post/space/{spaceId}/storage/upload/{path}

Request

  • Base URL: https://api.chatbotkit.com/api/v1
  • URL: https://api.chatbotkit.com/api/v1/space/{spaceId}/storage/upload/{path}
  • Auth: HTTP bearer

Path parameters

spaceIdstring required
pathstring required

The file path

Request body

OR

Response

The file was uploaded successfully

idstring required

The ID of the uploaded file

pathstring required

The path where the file is stored

Changes

No recorded changes to this operation across all 1 revision of this API.