Actions9
Create Shareable Link
AI-generatedSummary
Create a shareable link for a specified file within a BeDrive workspace, optionally protected by a password and with configurable expiration and permissions.
Inputs
- Workspace (required) — The workspace in which the target file is located. Select from a list or specify by ID.
- Folder Path — The folder containing the file. Select root directory or a specific folder path.
- File (required) — The file to create a shareable link for. Select from a list or specify by ID.
- Password — Optional password to protect access to the shareable link. Leave empty for no password.
- Expires At — When the shareable link should expire. Choose 'Never' or a 'Custom Date'.
- Expiration Date — The date and time when the shareable link should expire. Only applicable if 'Expires At' is set to 'Custom Date'.
- Allow Downloads — Boolean flag to determine if users accessing the link can download the file.
- Allow Edits — Boolean flag to determine if users accessing the link can edit the file.
Output shape
a single JSON object representing the created shareable link and its settings
Returns JSON including the file ID, workspace ID, masked password presence, expiration timestamp (if any), download and edit permissions, plus any additional response data from the BeDrive API.
Examples
Example 1: Create a password-protected shareable link for a file expiring on a custom date with download disabled
Set Workspace and File to target the exact file. Specify a password, set 'Expires At' to 'Custom Date', provide the expiration date, and disable 'Allow Downloads'.