Skip to content

Get extracted content

Request

Return the extracted (unsigned) content of a previously uploaded document.

The returned bytes depend on the signature type:

  • For CAdES/XAdES: returns the original document without the signature.
  • For PAdES: returns the uploaded signed PDF (as described by the documentation UI behavior).

Dependency This method must be invoked after running verification (GET /documents/{document-id}/verify/report), because VOL does not extract content until signature verification is performed.

If invoked before verification, VOL returns 502 Bad Gateway with an HTML error page.

Security
AuthToken
Path
document-idstring^[0-9a-fA-F]+$required

Unique document identifier returned by upload (hexadecimal)

Example:e4d13719410fae2f
curl -i -X GET \
  https://example.com/api/documents/e4d13719410fae2f/content \
  -H 'Authorization: YOUR_API_KEY_HERE'

Responses

Extracted document content bytes

Bodyapplication/octet-stream
string, (binary)
Response
string