POST/docx-export

Export a page as a Word document

Returns the .docx bytes directly rather than the standard JSON envelope.

  • IdempotentThe SDK sends Idempotency-Key, so a retried request is only applied once.

1 body field
pageIdstringrequired
Page identifier (UUID or slug ID).

3 status codes
200DOCX file
403Forbidden, or dOCX export not included in the current licence
errorstringoptional
Reason phrase, for example `Bad Request`.
messagestringoptional
statusCodeintegeroptional
404Page not found
errorstringoptional
Reason phrase, for example `Bad Request`.
messagestringoptional
statusCodeintegeroptional

Error handling

A 403 is returned: Forbidden, or dOCX export not included in the current licence. A 404 is returned: Page not found.