Skip to main content
POST
Upload files to workspace

Authorizations

Authorization
string
header
required

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

Path Parameters

workspace_id
integer<int64>
required

Body

multipart/form-data
content
file
required
type
enum<string>
Available options:
image,
video,
audio
access
enum<string>
default:public
Available options:
public,
private

Response

Success!

id
integer<int64>
default:10095
created_at
string<timestamptz>
default:2023-04-19 21:01:32+0000
name
string
default:file_example_MP3_1MG.mp3
size
integer<int64>
default:1087849
type
string
default:audio
mime
string
default:audio/mpeg
access
string
default:public
path
string
default:/vault/Ramtdv50/3TA6XKsmLe-2BigGnwxSb0v00sI/qSWtbg../file_example_MP3_1MG.mp3