Lodol Docs

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

ParameterTypeRequiredDescription
folder_pathstringYesThe path for the new folder (e.g., /Documents/NewFolder).
autorenamebooleanNoAutomatically 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

ParameterTypeRequiredDescription
target_pathstringYesThe Dropbox path to delete.

Response

true

Download file from Dropbox

Download a file from Dropbox to a local destination.

Parameters

ParameterTypeRequiredDescription
dropbox_pathstringYesThe Dropbox path of the file to download.
destination_pathstringNoOptional 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

ParameterTypeRequiredDescription
folder_pathstringNoThe Dropbox folder path to list. Empty string for root.
recursivebooleanNoWhether to list contents recursively.
limitnumberNoMaximum 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

ParameterTypeRequiredDescription
file_pathstringYesUploaded file reference for the file to upload.
dropbox_pathstringYesThe destination path in Dropbox (e.g., /folder/file.txt).
autorenamebooleanNoAutomatically rename the file if a conflict exists.

Response

"/Documents/uploaded_file.txt"

On this page