Returns the content of the current version of the document with the specified id.

<Check title="Required Permissions" icon="key">The user must have at least `read` permissions for the specified document.</Check>

Authentication

AuthorizationBearer

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

Path parameters

documentIdstringRequiredformat: "uuid"
The id of the document.

Query parameters

streamAsFilebooleanOptionalDefaults to false

Whether to stream the content as a file. By default, the document’s content is returned in a model containing a property Content holding the content as a string.

Response

OK

Errors