Skip to main content

List a document's shared group notes.

GET/api/v1/documents/{document_id}/collaborative-notesannotations:read

The latest version of the shared note of each group you are in that has one on the document. Needs View Document Notes and read access to the document. A group's note shows the editor state and its plain text; the full version is get_document_collaborative_note.

Scopeannotations:read
AsynchronousNo
MCP toollist_document_collaborative_notes
Portal permissionsview_document_notes
Pagingkeyset
Default ordergroup_id
Sort fieldsgroup_id

Parameters​

NameInTypeRequiredDescription
document_idpathstringRequired
limitqueryintegerOptionalDefault: 50; ≥ 1
cursorquerystringOptional
sortquerystringOptionalComma-separated sort fields, - for descending.
Docwize-Versionheaderstring (date)Optional
If-None-MatchheaderstringOptionalAnswers 304 when the representation is unchanged (resources that publish an ETag).

Responses​

StatusDescriptionBody
200Success.application/json object
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
410cursor_expiredapplication/problem+json Problem
421wrong_regionapplication/problem+json Problem
422invalid_cursor, validation_failedapplication/problem+json Problem
500internal_errorapplication/problem+json Problem
503tenant_unavailable, unavailableapplication/problem+json Problem
504timeoutapplication/problem+json Problem

200 body​

FieldTypeRequiredDescription
itemsarray of CollaborativeNoteRequired
next_cursorstring or nullRequired
warningsarray of objectRequired

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