Skip to main content
Version: v2023.18.0

GET Printable Document

This API allows you to retrieve the printable version of a specific document.

API Description

Endpoint:

GET /documents/{documentId}/printable

Resource path:

VariableRequiredDescription
documentIdYesThe ID of a document

Response :

TypeDescription
HttpServletResponseThe printable document in PDF format

Examples

Retrieve Printable Document

The following example demonstrates how to retrieve the printable document for a specific document with ID b64_bm9yZS92SDMtMS0xMTh1735080237. The parameter -o allow to save the result in an output file.

curl -X 'GET' \
'http://localhost:8761/documents/b64_bm9yZS92SDMtMS0xMTh1735080237/printable' \
-H 'accept: application/pdf' \
-o printable_document.pdf