Converts GitHub-flavoured Markdown into a formatted .docx: headings, lists, tables, bold/italic and links all carry over. Send the Markdown as JSON, or upload a .md file directly.
| Name | Type | Description |
|---|---|---|
markdown | string | GitHub-flavoured Markdown. Required unless a file is uploaded. |
file | file | Alternative to markdown: upload a .md file as multipart field file. |
curl -X POST https://api.bigapi.dev/v1/md/to-docx \
-H "Authorization: Bearer $KEY" \
-H "Content-Type: application/json" \
-d '{"markdown":"# Report\n\nHello **world**"}' \
-o report.docx
HTTP/1.1 200 OK Content-Type: application/vnd.openxmlformats-officedocument.wordprocessingml.document X-BigAPI-Cost: 1 (binary .docx body)