Skip to main content
Document Operations

Download latest revision PDF

<small>Requires an API token with the Document Reader role.</small>

GET
/documents/{document}/revisions/latest/pdf/download

This endpoint allows downloading the most recent revision of a document as a PDF. The response is an HTTP 302 redirect to the actual PDF content.

Note that in order to download the PDF content, the HTTP client used to make the request must be configured to follow redirects. e.g. if using curl on the commandline, the -L or --location option must be passed.

Authorizationstringheaderrequired

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

documentstringrequired

The document UUID

Response

application/json
bodystring