Skip to main content

Upload file

POST 

/box/:scope/file

Uploads a new document to the provided document box folder.

If the asynchronous option is specified a task will be returned otherwise the completed file upload will be returned directly

In a browser environment its recommend to use the async option to prevent running into browser timeouts if the processing takes too long.

In a reverse proxy + browser situation prefer using the presigned file upload endpoint otherwise browsers may timeout while your server transfers the file

Synchronous uploads return [UploadedFile] Asynchronous uploads return [UploadTaskResponse]

Request

Responses

Upload or task created successfully