Use Dropbox to upload and download files, list folder contents, search files and folders, create folders, and manage shared links. The actions also move or rename files and folders. Delete File/Folder moves them to the trash. Select a connected Dropbox credential and the path or item identifier required by the action.
Sim requests these scopes when someone connects a Dropbox account. For a self-hosted deployment, register your own app with the provider using the settings below. See Integrations and OAuth for setup.
Setting Value Redirect URI <NEXT_PUBLIC_APP_URL>/api/auth/oauth2/callback/dropboxEnvironment variables DROPBOX_CLIENT_ID, DROPBOX_CLIENT_SECRET
Scope Description account_info.readView Dropbox account information files.metadata.readView file and folder names, sizes, and dates files.metadata.writeModify file and folder metadata files.content.readDownload and read Dropbox files files.content.writeUpload, copy, move, and delete files in Dropbox sharing.readView shared files and folders sharing.writeShare files and folders with others
Upload and download files, list folder contents, search files and folders, create folders, manage shared links, and move items between folders or to the trash.
Upload a file to Dropbox
Inputs and outputsParameter Type Required Description pathstring Yes The path in Dropbox where the file should be saved (e.g., /folder/document.pdf) filefile No The file to upload (UserFile object) fileNamestring No Optional filename (used if path is a folder) modestring No Write mode: add (default) or overwrite autorenameboolean No If true, rename the file if there is a conflict muteboolean No If true, don't notify the user about this upload
Parameter Type Description fileobject The uploaded file metadata ↳ id string Unique identifier for the file ↳ name string Name of the file ↳ path_display string Display path of the file ↳ path_lower string Lowercase path of the file ↳ size number Size of the file in bytes ↳ client_modified string Client modification time ↳ server_modified string Server modification time ↳ rev string Revision identifier ↳ content_hash string Content hash for the file
Download a file from Dropbox with metadata
Inputs and outputsParameter Type Required Description pathstring Yes The path of the file to download (e.g., /folder/document.pdf)
Parameter Type Description filefile Downloaded file stored in execution files metadatajson The file metadata temporaryLinkstring Temporary link to download the file (valid for ~4 hours)
List the contents of a folder in Dropbox
Inputs and outputsParameter Type Required Description pathstring Yes The path of the folder to list (use "" for root) recursiveboolean No If true, list contents recursively includeDeletedboolean No If true, include deleted files/folders includeMediaInfoboolean No If true, include media info for photos/videos limitnumber No Maximum number of results to return (default: 500)
Parameter Type Description entriesarray List of files and folders in the directory ↳ id string Unique identifier ↳ name string Name of the file/folder ↳ path_display string Display path ↳ size number Size in bytes (files only) cursorstring Cursor for pagination hasMoreboolean Whether there are more results
Create a new folder in Dropbox
Inputs and outputsParameter Type Required Description pathstring Yes The path where the folder should be created (e.g., /new-folder) autorenameboolean No If true, rename the folder if there is a conflict
Parameter Type Description folderobject The created folder metadata ↳ id string Unique identifier for the folder ↳ name string Name of the folder ↳ path_display string Display path of the folder ↳ path_lower string Lowercase path of the folder
Delete a file or folder in Dropbox (moves to trash)
Inputs and outputsParameter Type Required Description pathstring Yes The path of the file or folder to delete
Parameter Type Description metadataobject Metadata of the deleted item ↳ name string Name of the deleted item ↳ path_display string Display path deletedboolean Whether the deletion was successful
Copy a file or folder in Dropbox
Inputs and outputsParameter Type Required Description fromPathstring Yes The source path of the file or folder to copy toPathstring Yes The destination path for the copied file or folder autorenameboolean No If true, rename the file if there is a conflict at destination
Parameter Type Description metadataobject Metadata of the copied item ↳ id string Unique identifier ↳ name string Name of the copied item ↳ path_display string Display path ↳ size number Size in bytes (files only)
Move or rename a file or folder in Dropbox
Inputs and outputsParameter Type Required Description fromPathstring Yes The source path of the file or folder to move toPathstring Yes The destination path for the moved file or folder autorenameboolean No If true, rename the file if there is a conflict at destination
Parameter Type Description metadataobject Metadata of the moved item ↳ id string Unique identifier ↳ name string Name of the moved item ↳ path_display string Display path ↳ size number Size in bytes (files only)
Get metadata for a file or folder in Dropbox
Inputs and outputsParameter Type Required Description pathstring Yes The path of the file or folder to get metadata for includeMediaInfoboolean No If true, include media info for photos/videos includeDeletedboolean No If true, include deleted files in results
Parameter Type Description metadataobject Metadata for the file or folder ↳ id string Unique identifier ↳ name string Name of the item ↳ path_display string Display path ↳ path_lower string Lowercase path ↳ size number Size in bytes (files only) ↳ client_modified string Client modification time (files only) ↳ server_modified string Server modification time (files only) ↳ rev string Revision identifier (files only) ↳ content_hash string Content hash (files only)
Create a shareable link for a file or folder in Dropbox
Inputs and outputsParameter Type Required Description pathstring Yes The path of the file or folder to share requestedVisibilitystring No Visibility: public, team_only, or password linkPasswordstring No Password for the shared link (only if visibility is password) expiresstring No Expiration date in ISO 8601 format (e.g., 2025-12-31T23:59:59Z)
Parameter Type Description sharedLinkobject The created shared link ↳ url string The shared link URL ↳ name string Name of the shared item ↳ path_lower string Lowercase path of the shared item ↳ expires string Expiration date if set ↳ link_permissions object Permissions for the shared link
List shared links for a path, or for the entire account if no path is given
Inputs and outputsParameter Type Required Description pathstring No Path to list shared links for. If omitted, lists all shared links. directOnlyboolean No If true, only return links directly to the path, not parent folder links cursorstring No Cursor from a previous call to fetch the next page of results
Parameter Type Description linksarray Shared links applicable to the path argument ↳ url string The shared link URL ↳ name string Name of the shared item ↳ path_lower string Lowercase path of the shared item ↳ expires string Expiration date if set hasMoreboolean Whether there are more results cursorstring Cursor for pagination (only returned when no path is given)
Search for files and folders in Dropbox
Inputs and outputsParameter Type Required Description querystring Yes The search query pathstring No Dropbox folder path to limit search scope (e.g., /folder/subfolder) fileExtensionsstring No Comma-separated list of file extensions to filter by (e.g., pdf,xlsx) maxResultsnumber No Maximum number of results to return (default: 100)
Parameter Type Description matchesarray Search results ↳ match_type object Type of match: filename, content, or both ↳ metadata object File or folder metadata hasMoreboolean Whether there are more results cursorstring Cursor for pagination
List the revision history for a file in Dropbox (files only, not folders)
Inputs and outputsParameter Type Required Description pathstring Yes The path of the file to list revisions for limitnumber No Maximum number of revisions to return, 1-100 (default: 10) beforeRevstring No Only return revisions before this one. Pass the rev of the last revision from a previous call to fetch the next page.
Parameter Type Description entriesarray The revisions for the file, most recent first ↳ id string Unique identifier for this revision ↳ name string Name of the file ↳ path_display string Display path ↳ rev string Revision identifier, pass to Restore ↳ size number Size of this revision in bytes ↳ server_modified string Server modification time isDeletedboolean Whether the file identified by the latest revision is deleted or moved hasMoreboolean Whether there are more revisions available
Restore a specific revision of a file to the given path
Inputs and outputsParameter Type Required Description pathstring Yes The path to save the restored file to revstring Yes The revision identifier to restore (from Dropbox List Revisions)
Parameter Type Description metadataobject Metadata of the restored file ↳ id string Unique identifier for the file ↳ name string Name of the file ↳ path_display string Display path of the file ↳ path_lower string Lowercase path of the file ↳ size number Size of the file in bytes ↳ rev string Revision identifier of the restored file ↳ server_modified string Server modification time