Skip to main content
POST

Overview

Creates a new shareable link for a file or folder. Anyone with the link can access the file based on the permissions you set.

Path Parameters

integer
required
ID or hash of the file entry

Request Body

string
Optional password protection
string
Optional expiration date (ISO 8601 format)
boolean
default:"false"
Allow editing via the link
boolean
default:"false"
Allow downloading via the link

Response

The created shareable link object
string
Request status (success)
The share URL format is: https://app.drime.cloud/drive/shares/{hash}