Save browser-edited DOCX bytes to the selected document version
Validates serialized DOCX bytes through the engine, updates the exact selected version without advancing the version counter, and rejects stale expected_content_sha256 values without overwriting. Creating a version is an explicit separate action.
POST
/documents/{documentId}/content Path parameters
documentIdstring Required
Headers
Authorizationstring RequiredBearer <session token>: the signed-in user’s Scaffold session token.
x-org-idstring Required
Body
content_base64string RequiredSerialized DOCX package bytes.
expected_content_sha256stringContent hash observed when this editor snapshot began.
client_edit_idstringClient-generated correlation id for the autosave.