Skip to main content

Upload File

upload

scope: files.content.write

Create a new file with the contents provided in the request. Do not use this to upload a file larger than 150 MB. Calls to this endpoint will count as data transport calls for any Dropbox Business teams with a limit on the number of data transport calls allowed per month. For more information, see the Data transport limit page.

Basic Parameters

ParameterDescription
File IdentifierThe identifier of the file. You can create a file identifier using the Set File Variable action.
PathPath in the user's Dropbox to save the file.

Advanced Parameters

ParameterDescription
Auto RenameIf there's a conflict, as determined by mode, have the Dropbox server try to auto-rename the file to avoid conflict. The default for this field is False.
MuteNormally, users are made aware of any file modifications in their Dropbox account via notifications in the client software.If true, this tells the clients that this modification shouldn't result in a user notification.The default for this field is False.
Write ModeSelects what to do if the file already exists. The default for this union is add.

Example Output

{
"client_modified": "2015-05-12T15:50:38Z",
"content_hash": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855",
"file_lock_info": {
"created": "2015-05-12T15:50:38Z",
"is_lockholder": true,
"lockholder_name": "Imaginary User"
},
"has_explicit_shared_members": false,
"id": "id:a4ayc_80_OEAAAAAAAAAXw",
"is_downloadable": true,
"name": "Prime_Numbers.txt",
"path_display": "/Homework/math/Prime_Numbers.txt",
"path_lower": "/homework/math/prime_numbers.txt",
"property_groups": [
{
"fields": [
{
"name": "Security Policy",
"value": "Confidential"
}
],
"template_id": "ptid:1a5n2i6d3OYEAAAAAAAAAYa"
}
],
"rev": "a1c10ce0dd78",
"server_modified": "2015-05-12T15:50:38Z",
"sharing_info": {
"modified_by": "dbid:AAH4f99T0taONIb-OurWxbNQ6ywGRopQngc",
"parent_shared_folder_id": "84528192421",
"read_only": true
},
"size": 7212
}

Workflow Library Example

Upload File with Dropbox and Send Results Via Email

Workflow LibraryPreview this Workflow on desktop