Skip to main content
POST
GetDocument

Authorizations

Authorization
string
header
required

Personal API key, sent as Authorization: Bearer <key>.

Headers

Connect-Protocol-Version
number
required

Define the version of the Connect protocol

Example:

1

Connect-Timeout-Ms
number

Define the timeout, in ms

Example:

1000

Body

application/json

request for getting a single document

documentId
string<uuid>

id of the document set

Response

Success

response of requesting a document

id
string

id of the document

contentType
string

content type of the document

sizeBytes
string<int64>

size of the documetn in bytes

name
string

name of the document in the set

originalUrl
string

original upload url

originalMd5
string

original md5 url

nrOfPages
string<int64>

number of pages

thumbnailUrl
string

url to the thumbnail

pdfUrl
string

url to the (converted) pdf

pageImageUrls
string[]

urls to page images

hasParsedMarkdown
boolean
deprecated

indicates if the document has a parsed markdown representation

parsedMarkdown
string | null
deprecated

the parsed markdown