Skip to main content
Annotate a document

Authorizations

token
string
query
required

Standard authorization for most API calls. This token identifies the logged-in user and their permissions. It is obtained either as a temporary token after a successful login or as a long-term API key.

Path Parameters

version
integer
required

Version of the document being annotated. It guards the annotations from being written into content the caller has not seen.

Required range: x > 0
Example:

6

Body

application/json
id
string
required

Identifier of the document to annotate.

Minimum string length: 1
Pattern: ^[A-Za-z0-9_-]+$
Example:

"a0d01c9d-f72f-4c57-af11-e26bda19cc59"

annotations
object[]

Text to write into the document, one entry per annotation. At least one of annotations and images must be provided.

images
object[]

Images to embed into the document, one entry per image. At least one of annotations and images must be provided.

removeCerts
boolean
default:false

Strips the signatures already present in the uploaded main file so that it can still be annotated, at the cost of the document no longer counting as signed. It is refused for a document that was signed or sealed within the platform.

Example:

false

timezone
string | null

Timezone the dates rendered into the annotations are resolved in.

Example:

"Europe/Prague"

Response

The annotations and images were written into the document.

status
string

Outcome of the operation, reported as a status type constant.

Example:

"SUCCESS"