Record a review-pane event (Suggesting mode's mode switch)
The pane speaks only through workspace commands, so its own events come here. The body is exactly { event_type, properties }; only mode.switched with to suggesting or editing is accepted. Identity comes from the request, never the body.
POST
/documents/{documentId}/events Path parameters
documentIdstring Required
Headers
Authorizationstring RequiredBearer <session token>: the signed-in user’s Scaffold session token.
x-org-idstring Required
Body
event_typestring RequiredOne of
mode.switchedpropertiesobjectShow 1 field
tostringOne of
suggestingediting