Skip to main content

Upload files to a folder

POST 

/api/v2/files

Stores the files in a folder of the account's drive and processes them in the background, as POST /api/v1/upload does. Poll GET /api/v2/files/uploads/{request_id} for each file's file_id.

on_conflict for a name the folder already has: rename (default) adds a UTC date suffix and the renamed_due_to_duplicate warning; replace replaces the existing file (the new file gets a new id); fail answers 409 file_exists and stores nothing. An unknown folder returns 404, /data/shared 403, and a full account 400 document_limit_exceeded.

Request​

Responses​

Upload accepted