Create a file upload session

The method allows you to create a session to upload a file or version of a file. If the method is used to upload a new version of a file, then the uploaded version will automatically become the active version of the file. The request must be sent to the file service host.

Body Params
string
required

Name of the uploaded file

int32
required

Size of the uploaded file (in bytes)

string

The UUID of the file the new version of the file is being uploaded for. If UUID is not specified, a new file will be created.

string

MIME type of file

boolean

When this flag is set, a preview will be generated for the file.

Headers
string
Defaults to application/json

Request headers

string
enum
Defaults to application/json

Generated from available response content types

Allowed:
Responses

Language
Credentials
OAuth2
URL
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json