v48

latestOpenAPI 3.0.0raw.githubusercontent.com2025-12-0297180624.8 KB
Box

Create presigned url

Create a presigned url for a storage key. This endpoint provides a presigned url for a storage key, which can be used to download the file from the storage.

post/boxes/{boxId}/storage/presigned-url

Path parameters

boxIdstring required
Example:c9bdc193-b54b-4ddb-a035-5ac0c598d32d

Box ID

Request body

expiresInstring

Presigned url expires in

Supported time units: ms (milliseconds), s (seconds), m (minutes), h (hours) Example formats: "500ms", "30s", "5m", "1h" Default: 30m Maximum allowed: 6h

storageKeystring required

Storage key

Example request

{
  "expiresIn": "30m",
  "storageKey": "storage://xxxxxx/xxxxxx/xxxxxxx"
}

Response

Presigned url

string required