POST
/
upload_file

Authorizations

Authorization
string
header
required

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

Body

application/json
file_content
string

Base64 encoded content of the file.

file_name
string

The name of the file to be uploaded.

project_id
string

The project ID associated with the file. Required if user_id is not provided.

user_id
string

The user ID associated with the file. Required if project_id is not provided.

Response

200 - application/json
file_name
string

The name of the uploaded file.

success
boolean