Dby Dropbox
Create a shared link
Creates a shared link to a file or folder, with optional settings for audience, access, downloads, password and expiry.
Description
With no settings the link is public by default, though team and shared-folder settings can change the resolved visibility. Requires the `sharing.write` scope.
create-shared-link.md
Create a shared link
Creates a shared link to a file or folder, with optional settings for audience, access, downloads, password and expiry.
With no settings the link is public by default, though team and shared-folder settings can change the resolved visibility. Requires the sharing.write scope.
Set up
Use the first option your agent supports.
API (official)
- Base URL: https://api.dropboxapi.com
- Endpoint:
POST /2/sharing/create_shared_link_with_settings - Auth: OAuth; sign in when the agent asks
- Docs: https://docs.dropboxapi.com/dropbox-api/api-reference/overview
Before doing anything else, make one read-only call to confirm access.
Rules
- Ask the user before anything that sends messages, costs money, or changes data.
- Never print API keys.
Built from these files in the repository
The layout and the rules come from lib/catalog/render-markdown.ts, the set-up wording from lib/catalog/render-access.ts.
Ways in
| Route | Source | Call | Required | Docs |
|---|---|---|---|---|
| Official | POST /2/sharing/create_shared_link_with_settings | OAuth | Docs |