Dropbox
API actions for the Dropbox integration.
Dropbox
Upload, download, and organize content in Dropbox.
Create Dropbox folder
Create a new folder in Dropbox.
Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
folder_path | string | Yes | The path for the new folder (e.g., /Documents/NewFolder). |
autorename | boolean | No | Automatically rename if a folder with the same name exists. |
Response
"/Documents/NewFolder"Delete Dropbox file or folder
Delete a file or folder from Dropbox.
Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
target_path | string | Yes | The path of the file or folder to delete, for example /folder/file.txt. |
Response
trueDownload file from Dropbox
Download a file from Dropbox and save it to a location you choose.
Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
dropbox_path | string | Yes | The Dropbox path of the file to download. |
destination_path | string | No | Where to save the downloaded file. If left blank, a temporary folder is used. |
Response
"/tmp/downloaded_file.txt"List Dropbox folder contents
List the contents of a Dropbox folder.
Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
folder_path | string | No | The Dropbox folder to list. Leave blank for the top level of your Dropbox. |
recursive | boolean | No | Set to true to also include files inside subfolders. |
limit | number | No | Maximum number of items to return (default 200). |
Response
[
"/Documents/file1.txt",
"/Documents/file2.pdf",
"/Documents/Subfolder"
]Upload file to Dropbox
Upload a file to Dropbox at the location you choose.
Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
file_path | string | Yes | The file to upload to Dropbox. |
dropbox_path | string | Yes | The destination path in Dropbox (e.g., /folder/file.txt). |
autorename | boolean | No | Automatically rename the file if one with the same name already exists. |
Response
"/Documents/uploaded_file.txt"