Skip to main content
POST
Create a share URL for a file

Authorizations

Authorization
string
header
required

API key

Path Parameters

id
string
required

Disk ID (format dsk-{16 hex chars})

Pattern: ^dsk-[0-9a-f]{16}$
Example:

"dsk-0123456789abcdef"

Body

application/json
key
string
required

File key (path) within the disk.

Minimum string length: 1
Example:

"reports/2026-08/summary.csv"

expiresIn
integer

URL lifetime in seconds. Any integer from 1 to 604800 (7 days). Defaults to 86400 (24 hours).

Required range: 1 <= x <= 604800
Example:

3600

Response

Share URL created

success
boolean
required
Example:

true

data
object
required