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 path
Delete a file or folder at the specified Dropbox path.
Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
target_path | string | Yes | The Dropbox path to delete. |
Response
trueDownload file from Dropbox
Download a file from Dropbox to a local destination.
Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
dropbox_path | string | Yes | The Dropbox path of the file to download. |
destination_path | string | No | Optional local path to save the file. Defaults to /tmp. |
Response
"/tmp/downloaded_file.txt"List Dropbox folder
List the contents of a Dropbox folder.
Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
folder_path | string | No | The Dropbox folder path to list. Empty string for root. |
recursive | boolean | No | Whether to list contents recursively. |
limit | number | No | Maximum number of entries to return (default 200). |
Response
[
"/Documents/file1.txt",
"/Documents/file2.pdf",
"/Documents/Subfolder"
]Upload file to Dropbox
Upload a local file to Dropbox at the specified path.
Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
file_path | string | Yes | Uploaded file reference for the file to upload. |
dropbox_path | string | Yes | The destination path in Dropbox (e.g., /folder/file.txt). |
autorename | boolean | No | Automatically rename the file if a conflict exists. |
Response
"/Documents/uploaded_file.txt"