Skip to main content
POST
Upload a file in x-form encoded HTTP request

Authorizations

Authorization
string
header
required

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

Body

multipart/form-data

The body of request in multipart/form-data format, containing the file content, file name and mime-type.

file
file
required

A file content in binary format.

filename
string

A filename.

Example:

"somefile.jpeg"

content_type
string

A mime-type of the file.

Response

Success

status
enum<string>
required
Available options:
ok,
error
Example:

"ok"

data
object
required