Download a document
Documents
Download a document
Streams back the raw bytes of a document as a file attachment, setting the original filename, content type, and content length, with a short private cache lifetime. The document is only served if it is visible to the caller under the same private/channel/team visibility rules as the read endpoints; otherwise a 404 is returned. Requires the documents:read scope.
GET
Download a document
Binary response
Returns the raw file bytes with the document’s storedContent-Type (not JSON), plus a Content-Disposition filename. The interactive playground may not render binary — fetch it programmatically and stream the body to a file.