Create share link
share_linkGenerate a shareable link for any file in a CloudSee drive. Set expiry in hours (default 12, max 30 days). The link publishes the file publicly until expiry; revocation only via dashboard.
Instructions
Create a shareable link to a file. Requires the drive (bucketName). Optionally set expireTime in hours (default 12 hours, capped at 30 days). Returns a CloudSee share page URL with its expiry and a share id. This is a write: it publishes the file to anyone who holds the link until the share expires, and no tool can list or revoke shares — an unwanted share can only be revoked from the CloudSee dashboard.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| filePath | Yes | Object key (path) of the file to share, within the drive. | |
| storageId | No | Optional storage/index id. | |
| bucketName | No | The CloudSee drive (S3 bucket) name to operate in, e.g. 'max-2778abc0' — find it in the CloudSee dashboard. Required unless CLOUDSEE_DEFAULT_BUCKET is configured on the server. | |
| expireTime | No | How long the link stays valid, in hours. Defaults to 12 hours when omitted; the server caps it at 30 days. |