Skip to main content
Create a volume file download

Authorizations

Authorization
string
header
required

BoxRouter API key; never an upstream provider key.

Headers

Idempotency-Key
string

Optional for this operation. Preserve the same stable identifier when retrying an uncertain response; never reuse it for new work. If omitted where allowed, Cloud generates a request-scoped key that cannot reconcile a later retry. Do not include credentials or payloads. Stable identifier for one logical mutation.

Required string length: 1 - 128

Path Parameters

volume_id
string
required

BoxRouter-managed Volume ID. Provider-native volume requirements are not accepted.

Pattern: ^vol_[0-9a-f]{32}$

Body

application/json
path
string
required

Relative path from the volume root, visible in sandboxes at /workspace/<path>. Empty paths, a leading slash, empty, . or .. segments, NUL, and paths longer than 1024 UTF-8 bytes are refused with invalid_request (400).

Required string length: 1 - 1024
Pattern: ^(?!/)(?!.*//)(?!\.{1,2}(?:/|$))(?!.*\/\.{1,2}(?:/|$))(?!.*\u0000).+$

Response

Created download link

Temporary link to a volume file; the URL expires one hour after creation.

url
string<uri>
required
path
string
required

Relative path from the volume root, visible in sandboxes at /workspace/<path>. Empty paths, a leading slash, empty, . or .. segments, NUL, and paths longer than 1024 UTF-8 bytes are refused with invalid_request (400).

Required string length: 1 - 1024
Pattern: ^(?!/)(?!.*//)(?!\.{1,2}(?:/|$))(?!.*\/\.{1,2}(?:/|$))(?!.*\u0000).+$
size
integer
required
Required range: x >= 0
expires_at
string<date-time>
required