Skip to main content
POST
Error

Authorizations

X-API-Key
string
header
required

Path Parameters

name
string
required

Sandbox ID or name

Body

application/json
path
string
required
content_disposition
string
content_type
string
csp_sandbox_flags
enum<string>[]

CSPSandboxFlags loosen the CSP sandbox the file is served under; omit for the most restrictive policy.

Available options:
allow-downloads,
allow-forms,
allow-modals,
allow-orientation-lock,
allow-pointer-lock,
allow-popups,
allow-presentation,
allow-scripts,
allow-top-navigation-by-user-activation
csp_source_bundles
enum<string>[]

CSPSourceBundles allow the served file to fetch from named third-party origins; omit to send no fetch directive.

Available options:
cdnjs,
google-fonts,
jsdelivr,
unpkg,
none
expires_in_seconds
integer

ExpiresInSeconds is optional; a link with no expiry never expires.

Response

OK

download_url
string
required
token
string
required
expires_at
string | null

ExpiresAt is null for a link that never expires.