Skip to main content
POST
Prepare session for file upload

Authorizations

Authorization
string
header
required

Use a Bearer token for authentication. Submit the token using the Authorization header: Authorization: Bearer <token>.

Body

application/json

A request contaning list of pairs of file names and their sizes.

filesToUpload
object[]
required

Response

Returns the file upload session details.

A response containing the upload ID and key for the multipart upload.

sessionId
string<uuid>
required

Unique identifier for the upload session.

Example:

"24b49ba0-6b5c-4950-94c1-1622939cc481"

files
object[]
required