Download document content

Downloads the original file content of a document.

For uploaded files, returns the original file with its proper MIME type. For text-only documents, returns the content as plain text.

Users can only download documents they own or have access to through collections.

Path parameters

idstringRequired

Document ID

Headers

AuthorizationstringRequired

Bearer authentication of the form Bearer <token>, where token is your auth token.

X-API-KeystringRequired

Errors