To create an upload session, call the
API with the desired file_name
and folder_id to put the file in, as well as the file_size of the file to be
uploaded.
To create a session for a new version of an existing file, call the
API instead. In this
case, the file_name and folder_id are only required when renaming or moving
the file in the process.
Pre-flight Check
Creating an upload session also performs a , making it
unnecessary to do so separately when working with chunked uploads.
Response
When a session is created successfully the response includes an that provides a session ID, the number of parts, the
part sizes, as well as links to the relevant next API endpoints to use.
The upload session defines the size of the parts to use when uploading the
individual parts.
Last modified on July 3, 2026