Policies

Import DOCX and convert to HTML

Changed on

Uploads a .docx file (max 10 MB) and converts it to HTML suitable for the policy content editor. Returns the converted HTML and any conversion warnings.

post/policies/import/docx

Request

  • Base URL
    /api (relative, and the document was published on a file host, not at the API’s origin)
  • URL
    /api/policies/import/docx
  • Auth
    HTTP bearer

Request body multipart/form-data

filestring binary required

A .docx file (max 10 MB).

Response

DOCX converted to HTML successfully

messagestring

Example response

{
  "message": "OK"
}

Changes