# Import and Export to Word On-Premises REST API usage

Import and Export to Word On-Premises consisits of two services:

* Export to Word provides convertion from an HTML document to a `.docx` file via Restful API.
* Import from Word allows importing `.docx` file and converting it into a styled HTML document with comments and suggestions attached.

The API is available on `http://localhost:[port]` (by default the `port` is `8080`).

> **Note**
>
> The REST API documentation is available at `http://localhost:[port]/v2/convert/docs`.\
> Alternatively you can check specification in our public resources `https://docx-converter.cke-cs.com/v2/convert/docs`.

If you have the authorization for the API enabled, you should provide an authorization token. More instructions you can find in the [authorization](authorization.md) section.

---

Full index of the Cloud Services documentation: [llms.txt](../../../llms.txt)
