Skip to main content
GET

Overview

Download the binary file content of a document. Returns the actual file with appropriate content-type headers.

Authentication

Requires API Token authentication via Bearer token.

Request

string
required
UUID of the document to download

Response

Returns the binary file content with headers:
  • Content-Disposition: attachment; filename="original_filename.pdf"
  • Content-Type: Appropriate MIME type (e.g., application/pdf, image/png, etc.)

Notes

  • The response is binary file content, not JSON
  • The Content-Disposition header contains the original filename
  • Use the Content-Type header to determine how to handle the file
  • Files are served directly from secure storage