Skip to main content

Get one annotation with its details.

GET/api/v1/annotations/{annotation_id}annotations:read

Visible to a caller who can read the document and who is named by the annotation's access grants, or who finds it open (no grants). Deleted annotations are returned with deleted_at set.

Scopeannotations:read
AsynchronousNo
MCP toolget_annotation

Parameters​

NameInTypeRequiredDescription
annotation_idpathstringRequired
Docwize-Versionheaderstring (date)Optional
If-None-MatchheaderstringOptionalAnswers 304 when the representation is unchanged (resources that publish an ETag).

Responses​

StatusDescriptionBody
200Success.application/json Annotation
304Not modified (If-None-Match matched the ETag).
400invalid_versionapplication/problem+json Problem
401token_expired, unauthenticatedapplication/problem+json Problem
403forbidden, insufficient_scope, token_owner_inactiveapplication/problem+json Problem
404not_foundapplication/problem+json Problem
405method_not_allowedapplication/problem+json Problem
406not_acceptableapplication/problem+json Problem
421wrong_regionapplication/problem+json Problem
422validation_failedapplication/problem+json Problem
500internal_errorapplication/problem+json Problem
503tenant_unavailable, unavailableapplication/problem+json Problem
504timeoutapplication/problem+json Problem

Errors​

The problem codes this operation can answer with. Each code links to its page.

Schemas​

Annotation​

FieldTypeRequiredDescription
annotationobjectRequiredThe details the viewer draws: format annotation_details, body a non-empty list of objects.
annotation_idstringRequired
annotation_typestringRequired
created_byUserRefRequired
deleted_atstring (date-time) or nullRequirednull while live; the time it was deleted otherwise (restore brings it back).
document_idstringRequired
pageintegerRequired1-based page of the file version. ≥ -2147483648; ≤ 2147483647
version_idstringRequiredThe file version the annotation is drawn on (opaque, derived from document and stored file).

UserRef​

FieldTypeRequiredDescription
display_namestringRequired
kindstring: user, system, integration or stringRequired
user_idstring or nullRequired