v16

latestOpenAPI 3.1.0raw.githubusercontent.com2026-03-032765158.3 KB
Documents

Get Document

Get the document. The content will be the binary PDF/DOCX content, or be UTF-8-encoded content if it is text.

A 404 Not Found status code will be returned, if the provided request parameters do not exist.

Note that if /documents/update-document returns a new document id, then all urls will be invalidated and must be retrieved again.

The HTTP cache policy on this endpoint is set to never expire, unlike other endpoints whose HTTP headers assert no-cache.

get/documents/get-document

Query parameters

tokenstring required

The document token

The document token

Response

Successful Response

{"stackTrail":"paths:/documents/get-document:get:responses:200:content:application/json:schema","oasType":"schema","type":"unknown"}