Save a session back as a file
Exports the session as a .docx — tracked changes and all — and stores it as a new file next to the document it came from.
fileId is the file the session was opened on, by id or by name. It must BE that file: a session that was opened on a different document answers 409 redline_file_mismatch. The new file is named <original>.redlined.docx and carries parentFileId pointing back at it.
A NAME is resolved in the org API workspace only — there is no cross-space name index. A file that lives in an explicit space must be flushed by its id.
The session stays open: flush as often as you like, then let it expire or delete it.
Learn more: Redlining
Authentication
AuthorizationBearer
Bearer authentication of the form Bearer <token>, where token is your auth token.
Path parameters
sessionId
Request
This endpoint expects an object.
fileId
Response
The saved file.
object
id
name
mimeType
status
Allowed values:
createdAt
parentFileId
metadata
error
uploadUrl
uploadExpiresAt
urls
Errors
404
Not Found Error
409
Conflict Error
429
Too Many Requests Error