Export a document as a downloadable Word file.
Two content modes:
Two format options:
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Session ID to export the document from. Required if html is not provided.
HTML content to convert to a Word file. If provided, this is used instead of the session document.
Custom filename for the exported file (without extension). Auto-detected from the first heading if not provided.
Export format: 'doc' (default, Word-compatible) or 'docx' (native Open XML).
Word file download
The response is of type file.