# Generate download URL for existing file Generate a pre-signed download URL for an existing file in REMOTE_FILE_MANAGER bucket Endpoint: POST /v0/enterprise/{enterprise_id}/content/remote-file/generate_download_url/ Version: 1.0.0 Security: apiKey ## Path parameters: - `enterprise_id` (string, required) A UUID string identifying this enterprise. ## Request fields (application/json): - `file_key` (string, required) The storage key of the file to download Example: "123/files/document_abc123.pdf" - `expires_in` (integer) URL expiration time in seconds (optional, default 3600) ## Response 200 fields (application/json): - `file_key` (string) The storage key of the file Example: "123/files/document_abc123.pdf" - `download_url` (string) Pre-signed URL for downloading the file Example: "https://s3.amazonaws.com/REMOTE_FILE_MANAGER/123/files/document_abc123.pdf?AWSAccessKeyId=..." - `expires_in` (integer) URL expiration time in seconds Example: 3600 ## Response 400 fields (application/json): - `error` (string) Example: "file_key is required" ## Response 401 fields (application/json): - `errors` (array) - `message` (string) - `status` (integer) ## Response 403 fields (application/json): - `errors` (array) - `message` (string) - `status` (integer) ## Response 500 fields (application/json): - `error` (string) Example: "Failed to generate download URL"