File storage
Dropbox in your product and your AI agents, through one API
The Dropbox toolkit covers browsing and searching files and folders, creating folders, moving, copying and deleting items, temporary download links and shared links. Through Connect, a product or AI agent works in the customer's Dropbox without building the integration or handling OAuth tokens.
15 days to try it. No credit card.
POST https://connect.reportei.com/api/tools/dropbox_list_files/execute
Authorization: Bearer <merchant token>
x-customer-token: <customer token>
Content-Type: application/json
Accept: application/json
{
"customer_toolkit": "<connection UUID>",
"arguments": {
"path": "<path>"
}
}How it works
From a connected customer to the first Dropbox call.
- 1
Your customer connects the account
Your system opens a Connect session for the toolkit and your customer connects their Dropbox account. You get the connection id.
- 2
Your product calls the tool
A POST to /api/tools/{tool}/execute with the connection id and arguments. On success, Connect preserves the app's response status and body.
- 3
Connect handles the rest
It stores the credential encrypted, renews tokens for OAuth connections that support renewal and records executions in an audit trail available through the API.
Use cases
What your product does with Dropbox.
Client deliverables in Dropbox
Create a folder per client, copy a template folder into it and create a shared link to send to the client from your product.
File lookup for an AI agent
Let an agent search files by query, read their metadata and fetch a temporary link to the content when the user asks for a document.
Organizing and cleaning up
Move or rename files into the right folders and delete outdated items as part of a workflow in your product.
Tools
12 Dropbox tools
- List files and foldersPOSTLists the files and folders inside a folder, each with .tag (file, folder or deleted), name, path_display and id. When has_more is true, pass the cursor to List more files for the rest.
- List more filesPOSTReturns the next page of a listing started by List files and folders, with the same options. Call it again with the new cursor while has_more is true.
- Search filesPOSTSearches files and folders and returns up to max_results matches, each with the item under metadata.metadata. When has_more is true, narrow the query or the folder. Changes from the last moments may not show yet.
- Get file or folderPOSTReturns the metadata of a file or folder: .tag (file or folder), name, path_display, id and, for files, size, rev and the modification dates. The root folder has no metadata.
- Create folderPOSTCreates a folder and returns its metadata under metadata.
- Move or rename filePOSTMoves or renames a file or folder; a folder moves with everything inside it. Returns the new metadata under metadata. Changing only the case of a name is not supported.
- Copy file or folderPOSTCopies a file or folder; a folder is copied with everything inside it. Returns the metadata of the copy under metadata.
- Delete file or folderPOSTDeletes a file or folder; a folder is deleted with everything inside it. Returns the metadata the item had under metadata. Dropbox keeps deleted items restorable for a period that depends on the plan.
- Get temporary linkPOSTReturns a direct link to the content of a file, valid for four hours, plus the file metadata. Anyone with the link can download the file until it expires; for a lasting link, use Create shared link.
- List shared linksPOSTLists shared links with their url, path_lower, expires and link_permissions. Without path it lists every link of the account, and when has_more is true the next page comes with the cursor.
OAuth with your product's app
You register your product's OAuth app once, with POST /api/merchants/credentials/dropbox, and your customer authorizes the account on a consent screen. Connect renews the token when it is about to expire.
Questions about the Dropbox toolkit
Do I need to build against the Dropbox API?
No. Connect ships 12 Dropbox tools, described and ready. Your customer connects the account and your system calls every tool through the same endpoint, with the same request format.
How does my customer connect their Dropbox account?
With the mode the toolkit accepts: OAuth with your product's app. Connect stores the credential encrypted and never returns it to your system.
Does it work with AI agents?
Yes. Each tool's input is described in JSON Schema, which your agent uses directly as a tool definition. The agent picks the tool and the arguments, and your system makes the call to Connect.
Does my customer need a Reportei account?
No. Your customer connects the account on a Connect screen, or your system sends the credential through the API, and they keep using only your product.
Toolkits in the same category
See all 100 toolkitsSee Connect applied to your product.
Try it for 15 days with no card, or walk our team through your use case.
