v3

OpenAPI 3.0.32026-07-21354289.5 KB
File

downloadFile

Generate a pre-signed download URL for a file.

The returned URL is valid for a limited time (typically 15 minutes) and can be used to download the file directly.

get/v1/files/{id}/download

Path parameters

string required

Empty string (used when file ID not yet assigned)

OR
string uuid required

Valid UUID v4

The UUID of the file entity

Query parameters

versioninteger

Index of the file version to download (0 = latest)

attachmentboolean

Controls the Content-Disposition header. Set to true to trigger browser download dialog, false to display inline.

Response

Pre-signed download URL

download_urlstring uri

Pre-signed S3 URL valid for downloading the file

Example response

{
  "download_url": "https://epilot-prod-user-content.s3.eu-central-1.amazonaws.com/123/temp/4d689aeb-1497-4410-a9fe-b36ca9ac4389/document.pdf?AWSParams=123"
}