Read a copy to take away, at the finish or at any time
Writes nothing. Any copy can go to a counterparty, so none carries anything internal: Scaffold's reason comments, the creator and last-modified-by in docProps/core.xml, docProps/custom.xml and Scaffold's notes part are removed. clean and redline also remove every other comment part and marker and people.xml. clean holds no tracked change. redline marks the earlier version up into this one: the parent if it is in the caller's organisation and visible to them, else the highest version below this one in the series. Its tracked changes carry the signed-in person's own name (their Settings display name, else the part of their email before the @, never the whole email), dates kept. working is the document as it stands, open changes and all, and is never refused for open changes: Scaffold's own tracked changes carry the person's name as a redline's do, and anyone else's keep their author. It keeps every comment but Scaffold's reason comments (a comment under exactly the person's email gets their name), and the people.xml entries of the comments it keeps. It is what every download and email_document send. Requires x-org-id and follows the same ownership rules as other document routes (403 for another org, 404 for another user's document).
/documents/{documentId}/export Path parameters
documentIdstring Required
Headers
Authorizationstring RequiredBearer <session token>: the signed-in user’s Scaffold session token.
x-org-idstring Required
Query parameters
copy"clean" | "redline" | "working" Required
Returns
copystring RequiredOne of
cleanredlineworkingcontentBase64string RequiredThe DOCX bytes, base64.
comparedToobject | null RequiredThe earlier version a redline marks up; null for clean and working.
Show 2 fields
documentIdstringversioninteger
commentsRemovedinteger RequiredHow many Word comments the copy left out.