Skip to main content
GET
Download and Access File
  • Public access by unique file_id (no login required)
  • Automatically responds with 302 Redirect to Cloudflare R2 CDN URL when public domain is configured
  • Streams file directly with correct Content-Type and Content-Disposition in local storage mode
  • Returns 404 Not Found when file has expired past 72 hours

Path Parameters

Response

  • Active File (200 OK / 302 Found): Binary stream of file or 302 redirect to R2 CDN URL.
  • Expired or Deleted File (404 Not Found):