Skip to main content
POST
/
api
/
files
/
upload
Upload File
curl --request POST \
  --url https://api.example.com/api/files/upload \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: multipart/form-data' \
  --form file='@example-file' \
  --form 'task_type=<string>' \
  --form message= \
  --form 'task_id=<string>' \
  --form 'folder=<string>'
{}

Authorizations

Authorization
string
header
required

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

Body

multipart/form-data
file
file
required
task_type
string
required
message
string
default:""
task_id
string
folder
string

Response

Successful Response

The response is of type Response Upload File Api Files Upload Post · object.