About this endpoint
What it does
Converts an uploaded HTML file to a DOCX file and returns the generated document as a binary response. Send the HTML file in the request body; the response is the downloadable DOCX file.
Request Body
| Parameter | Type | Mandatory | Description |
|---|---|---|---|
| file | String | Yes | HTML file to convert. Accepts .html or .htm file uploads. |
| output | String | No | Output filename stem without extension. Defaults to converted. |
Response
Returns a binary response containing the converted DOCX file.