---
title: "Import DOCX and convert to HTML"
method: POST
path: "/policies/import/docx"
tags: ["Policies"]
---

# Import DOCX and convert to HTML

`POST /policies/import/docx`

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.

## Response `200`

DOCX converted to HTML successfully

- object
  - `message` string
  - `data` object
    - `html` string — The converted HTML content
    - `warnings` string[] — Conversion warnings (e.g., unsupported formatting)

## Other responses

- `400` — Bad request — no file uploaded or invalid file type
- `500` — unresolved $ref

---

[API](https://skmtc.net/verifywise-ai/apis/verifywise-api.md) · [All operations](https://skmtc.net/verifywise-ai/apis/verifywise-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/verifywise-ai/verifywise-api/revisions/c764f0a64a5e/schema)
