Dropbox

Learn how to use Dropbox with Composio

Overview

SLUG

DROPBOX

Description

Dropbox is a cloud storage service offering file syncing, sharing, and collaboration across devices with version control and robust integrations

Authentication Details

client_id
stringRequired
client_secret
stringRequired
oauth_redirect_uri
stringDefaults to https://backend.composio.dev/api/v1/auth-apps/add
scopes
stringDefaults to email,profile,account_info.write,account_info.read,files.metadata.write,files.metadata.read,files.content.write,files.content.read,openid,file_requests.write,file_requests.read,sharing.write,sharing.read,contacts.write,contacts.read
full
stringDefaults to https://api.dropboxapi.com
bearer_token
string

Tools

SLUG: DROPBOX_CREATE_FILE_REQUEST

Tool to create a new file request in dropbox. use when you need to request files from others by generating a unique link for uploads to a specified dropbox folder, optionally with a deadline.

Action Parameters

deadline
object
destination
stringRequired
open
booleanDefaults to True
title
stringRequired

Action Response

data
objectRequired
error
string
successful
booleanRequired

SLUG: DROPBOX_CREATE_FOLDER

Tool to create a new folder at a specified path in dropbox. use when you need to organize files by creating a new directory. requires the 'files.content.write' scope.

Action Parameters

autorename
boolean
path
stringRequired

Action Response

data
objectRequired
error
string
successful
booleanRequired

SLUG: DROPBOX_CREATE_PAPER

Creates a new dropbox paper document at the specified path using html or markdown content.

Action Parameters

content
stringRequired
import_format
stringDefaults to html
path
stringRequired

Action Response

data
objectRequired
error
string
successful
booleanRequired

SLUG: DROPBOX_MOVE_FILE_OR_FOLDER

Move file or folder

Action Parameters

allow_ownership_transfer
boolean
allow_shared_folder
boolean
autorename
boolean
from_path
stringRequired
to_path
stringRequired

Action Response

data
objectRequired
error
string
successful
booleanRequired

SLUG: DROPBOX_SEARCH_FILE_OR_FOLDER

Tool to search for files and folders in dropbox. use when you need to find an item by name or content, optionally within a specific path or with other filters, and paginate through results. example: search for 'report.docx' in the '/finance' folder.

Action Parameters

options
object
query
stringRequired

Action Response

data
objectRequired
error
string
successful
booleanRequired

SLUG: DROPBOX_DELETE_FILE_OR_FOLDER

Permanently deletes the file or folder at the specified path in dropbox. use when you need to remove a specific file or folder. requires the `files.content.write` scope.

Action Parameters

path
stringRequired

Action Response

data
objectRequired
error
string
successful
booleanRequired

SLUG: DROPBOX_GET_ABOUT_ME

Tool to get information about the current user's dropbox account. use when you need to retrieve account details like email, name, or account type.

Action Parameters

Action Response

data
objectRequired
error
string
successful
booleanRequired

SLUG: DROPBOX_LIST_FILES_IN_FOLDER

Tool to list files and folders in a specified dropbox directory. use when you need to see the contents of a folder, including subfolders if recursive is true.

Action Parameters

include_deleted
boolean
include_media_info
boolean
include_non_downloadable_files
booleanDefaults to True
limit
integerDefaults to 2000
path
string
recursive
boolean

Action Response

data
objectRequired
error
string
successful
booleanRequired

SLUG: DROPBOX_LIST_FOLDERS

Retrieves a list of folders, files, and deleted entries from a specified dropbox path.

Action Parameters

include_deleted
boolean
limit
integerDefaults to 2000
path
string
recursive
boolean

Action Response

data
objectRequired
error
string
successful
booleanRequired

SLUG: DROPBOX_READ_FILE

Downloads a file from the specified dropbox path, requiring `files.content.read` scope.

Action Parameters

path
stringRequired

Action Response

data
objectRequired
error
string
successful
booleanRequired

SLUG: DROPBOX_UPLOAD_FILE

Uploads a file to a specified path in the user's dropbox, with options for handling existing files.

Action Parameters

autorename
boolean
content
objectRequired
mode
stringDefaults to add
mute
boolean
path
stringRequired
strict_conflict
boolean

Action Response

data
objectRequired
error
string
successful
booleanRequired