Hanzo
OpenapiDataroom

Download a document's bytes as its owner

Streams the stored file back under its recorded content type, falling back to application/octet-stream when none was recorded.

GET /v1/dataroom/documents/{id}/file

Addresshttps://api.hanzo.ai/v1/dataroom/documents/{id}/file
MethodGET
Operationget_dataroom_documents_by_id_file
AuthAuthorization: Bearer $HANZO_API_KEY

Streams the stored file back under its recorded content type, falling back to application/octet-stream when none was recorded.

Requires a validated principal; 403 without one, and the document is resolved in the caller's own tenant store, so another org's id is a 404. This is the OWNER's path and applies no link gate at all — the per-link password, email and download controls live on the viewer surface, not here. Bytes that cannot be fetched from object storage are 502, never a truncated or empty file.

Request

1 field.

FieldInTypeRequiredDescription
idpathstringyes

Response

The document declares no response body for this operation. It answers 200 on success and the platform error shape on failure — see Errors.

Examples

hanzo dataroom documents file <id>

Dataroom API · All Hanzo APIs · Interactive reference

How is this guide?

On this page