POST
/
upload_file

Authorizations

Authorization
string
headerrequired

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

Body

application/json
file_name
string

The name of the file to be uploaded.

file_content
string

Base64 encoded content of the file.

user_id
string

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

project_id
string

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

Response

200 - application/json
success
boolean
file_name
string

The name of the uploaded file.