Skip to main content
POST
Create upload request

Authorizations

Authorization
string
header
required

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

Body

application/json
upload_source
enum<string>
required
Available options:
local-storage
file_type
enum<string>
required
Available options:
image,
video,
document
file_name
string
required
file_size
integer
required

in bytes

folder_id
string

Optional. If provided, file will be uploaded into the specified folder.

Response

200 - application/json

OK

message
string
success
boolean
content
object