Skip to content

Start chunked upload

POST
/api/uploads

Initialises a multi-part file upload session and returns an upload ID.
Use the upload ID to push data chunks, then finalise by creating a file.

Authorizations

Token

Format: token <value>. Types: user (session) or uploader (API token).

Type
API Key (header: Authorization)

Request Body

application/json
JSON
{
  
"totalBytes": 0
}

Responses

OK

application/json
JSON
{
  
"id": "string",
  
"createdAt": "string",
  
"updatedAt": "string",
  
"currentBytes": "string",
  
"totalBytes": "string",
  
"status": null
}

Playground

Server
Authorization
Body

Samples