---
ref: tool:dropbox/create-shared-link
name: Create a shared link
company: company:dropbox
workflows: []
access: [api]
tags: [capability:store-files, category:storage, has:api]
docs: https://docs.dropboxapi.com/dropbox-api/api-reference/user-endpoints/sharing/create-shared-link-with-settings
updated: 2026-09-26
---

# 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.
