All tools

Create a shared link

Creates a shared link to a file or folder, with optional settings for audience, access, downloads, password and expiry.

View on GitHub
Updated Sep 26, 2026Available asAPI

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)

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

RouteSourceCallRequiredDocs
APIOfficialPOST /2/sharing/create_shared_link_with_settingsOAuthDocs

Workflows using Create a shared link

No workflows yet
No published workflow uses Create a shared link yet.