Skip to main content
Version: v2023.18.0

GET PDF Document Annotations

This API allows you to retrieve the annotations of a specific PDF document.

API Description

Endpoint:

GET /documents/{documentId}/file/annotations

Resource path:

VariableRequiredDescription
documentIdYesThe ID of a document

Response :

TypeDescription
InputStreamThe document annotations as a file in the response body

Examples

Retrieve Document Annotations

The following example retrieves the annotations for a PDF document with the ID b64_bm9yZS92SDMtMS0xMTh1735080237.

curl -X GET 'http://localhost:8761/documents/b64_bm9yZS92SDMtMS0xMTh1735080237/file/annotations' \
-H 'accept: application/octet-stream'