Dropbox

Learn how to use Dropbox with Composio

Overview

Enum

DROPBOX

Description

Dropbox is a file hosting service that offers cloud storage, file synchronization, personal cloud, and client software.

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
base_url
stringDefaults to https://api.dropboxapi.com

Actions

Searches for a file or folder in dropbox. requires the files.read scope.

Action Parameters

include_highlights
boolean
file_status
stringDefaults to active
filename_only
boolean
max_results
integerDefaults to 10
path
stringRequired
query
stringRequired

Action Response

data
object
successful
boolean
error

Uploads a file to dropbox (supports various file types through filetype). requires the files.content.write scope.

Action Parameters

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

Action Response

data
object
successful
boolean
error

Get information about the owner account in dropbox.

Action Parameters

Action Response

data
object
successful
boolean
error

Deletes a file or folder in dropbox. requires the files.write scope.

Action Parameters

path
stringRequired

Action Response

data
object
successful
boolean
error

Creates a new file request in dropbox. requires the file requests.write scope.

Action Parameters

title
stringRequired
destination
stringRequired
open
booleanDefaults to True
description
string

Action Response

data
object
successful
boolean
error

Reads a file in dropbox. requires the files.content.read scope.

Action Parameters

path
stringRequired

Action Response

data
object
successful
boolean
error

Moves a file or folder to a different location in dropbox. requires the files.write scope.

Action Parameters

allow_ownership_transfer
boolean
allow_shared_folder
boolean
autorename
boolean
from_path
stringRequired
to_path
stringRequired

Action Response

data
object
successful
boolean
error

Creates a folder in dropbox. requires the files.write scope.

Action Parameters

autorename
booleanRequired
path
stringRequired

Action Response

data
object
successful
boolean
error

Creates a new paper document in dropbox with direct content. requires the files.content.write scope.

Action Parameters

path
stringRequired
content
stringRequired
import_format
stringDefaults to html

Action Response

data
object
successful
boolean
error