Dropbox
Connect a Dropbox account with one approval on Dropbox's own screen — no passwords or API keys. Read-only: the owner browses folders and imports a picked file as a public asset or a private member download. Paid plans.
Try it with your AI assistant
Once WebsitePublisher is connected to your AI assistant, paste one of these into the chat. Replace the parts in [brackets] with your own details.
@WebsitePublisher connect my Dropbox and add [file name] to my site as a public file@WebsitePublisher import [file name] from my Dropbox as a private download for my members@WebsitePublisher browse my Dropbox and show me the files in [folder name]With WebsitePublisher, connect my Dropbox and add [file name] to my site as a public fileWith WebsitePublisher, import [file name] from my Dropbox as a private download for my membersWith WebsitePublisher, browse my Dropbox and show me the files in [folder name]With WebsitePublisher, connect my Dropbox and add [file name] to my site as a public fileWith WebsitePublisher, import [file name] from my Dropbox as a private download for my membersWith WebsitePublisher, browse my Dropbox and show me the files in [folder name]Endpoints (7)
Start connecting a Dropbox account (read-only). Returns authorize_url: give it to the owner as a clearly labelled "Connect Dropbox" link or button. They approve on Dropbox's own screen and the tokens are stored automatically — never ask for a password or secret. The link is single-use and expires after 30 minutes. Paid plans only.
| Field | Type | Required | Description |
|---|---|---|---|
capabilities |
array | No | Default ["files_read"] (read file names and download files the owner picks). It is the only capability. |
return_url |
string | No | Optional page on a websitepublisher.ai domain to return to after approval. |
Whether Dropbox is connected for this project: account email and name, status, and what to do when re-authorization is needed.
No input parameters required.
Disconnect Dropbox: revokes access at Dropbox and deletes the stored tokens. Files imported earlier stay in private storage.
No input parameters required.
Find files by name in the connected Dropbox account, for a file the owner named. Returns {files:[{ref, name, size, modified, path}], has_more}. Pass a ref to gated-files import-external (provider "dropbox"). Only import files the owner asked for. Paid plans.
| Field | Type | Required | Description |
|---|---|---|---|
query |
string | ✓ Yes | Part of the file name, at least 2 characters. |
limit |
integer | No | Max files to return (default 20, max 50). |
Browse the connected Dropbox account one folder at a time (not recursive). folder: omit or "" for the root, else a folder ref ("id:…") from an earlier list-folder. Returns {folder:{ref, name, path}, entries:[{type:"folder"|"file", ref, name, path, size, modified, can_be_asset}], cursor, has_more}: folders first, then files, by name. Pass cursor for the next page (folder is then null). Paid plans.
| Field | Type | Required | Description |
|---|---|---|---|
folder |
string | No | Folder ref "id:…" from list-folder; omit or "" for the root. |
cursor |
string | No | cursor from the previous page of the same listing. |
limit |
integer | No | Entries per page (default 200, max 500). |
Copy one file the owner picked in the connected Dropbox into this project. destination is required and is the owner's explicit choice, never yours: "assets" = a PUBLIC file on the CDN that anyone with the link can open, with the rules of an asset upload (types jpg, jpeg, png, gif, webp, svg, pdf, mp4, mp3, ogg, woff, woff2, ttf, otf, ico, json, css, js, txt, html, csv, tsv, each with its size limit); "private" = a private file for members (gated files; type checked from the bytes against the project allowlist, e.g. PDF, Office, CSV, text, images). Plan asset and storage limits apply. Later changes in Dropbox are not synced. Paid plans. Returns for assets {destination, asset_id, url, size, mime_type}, for private {destination, id, filename, size_bytes, content_type}.
| Field | Type | Required | Description |
|---|---|---|---|
ref |
string | ✓ Yes | File ref "id:…" from list-folder or search-files. |
destination |
string | ✓ Yes | "assets" (public, CDN) or "private" (members only): ask the owner. |
slug |
string | No | assets: asset path such as "images/photo.jpg"; default the Dropbox file name. Keeps the file's own extension. |
overwrite |
boolean | No | assets: replace an existing asset at the same path (default false). |
alt |
string | No | assets: alt text. |
filename |
string | No | private: display filename for the download; default the Dropbox file name. |
tenant_code |
string | No | private: library-mode scope (omit = any tenant of this site). |
entitlement_mode |
string | No | private: per-file override of the project entitlement_mode. |
delivery_mode |
string | No | private: per-file override of the project delivery_mode. |
metadata |
object | No | private: custom metadata (e.g. product_id); the import provenance is added by the platform. |
Settings for the Dropbox Chooser in the dashboard: the public app key and script URL, and whether Dropbox is connected. A chosen file's "id" is the ref for dropbox.import.
No input parameters required.
MCP Tool Names
When using this integration through an AI assistant (Claude, ChatGPT, Cursor, etc.), the endpoints are available as MCP tools:
| Endpoint | MCP Tool Name |
|---|---|
| connect | dropbox_connect |
| connection-status | dropbox_connection_status |
| disconnect | dropbox_disconnect |
| search-files | dropbox_search_files |
| list-folder | dropbox_list_folder |
| import | dropbox_import |
| chooser-config | dropbox_chooser_config |
Website