Stream Document Content

GET /clientdocument/{code}/stream

Streams document content. Requires a valid signed token with tenant and client as query parameters. Use the optional 'disposition' parameter to control the Content-Disposition header: 'attachment' (default) prompts a file download, 'inline' displays the file in the browser for supported types (e.g. PDF, images). The optional 'version' parameter takes a revision id from the document's version history and streams that revision instead of the current file.

Parameters

NameTypeDescription
tenant* query string
client* query string
code* path string
disposition query string
expires* query integer (int64)
token* query string
version query string

Responses

200 OK
401 Unauthorized
404 Not Found

Try it