Skip to main content

Get a group's shared note on a document.

GET/api/v1/documents/{document_id}/collaborative-notes/{group_id}annotations:read

The latest version of the note the group shares on the document, with its version number, who saved it and when. Needs View Document Notes; you must be in the group and able to read the document; 404 when the group has no note on it yet (save_document_collaborative_note makes it).

Scopeannotations:read
AsynchronousNo
MCP toolget_document_collaborative_note
Portal permissionsview_document_notes

Parameters​

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

Responses​

StatusDescriptionBody
200Success.application/json CollaborativeNote
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​

CollaborativeNote​

FieldTypeRequiredDescription
document_idstringRequired
group_idstringRequired
note_idstringRequiredThe shared note's own ID, the same for every version.
note_jsonstringRequiredThe editor's state (Lexical JSON) as text.
note_textstringRequiredThe note's plain text.
saved_atstring or nullRequiredWhen this version was saved; null in the list, which does not read it.
saved_byUserRef or nullRequiredWho saved this version; null in the list, which does not read it.
version_numberinteger or nullRequired0 for the empty first version; null in the list, which does not read it.

UserRef​

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