# Importing theme

## Imports new theme from a zip file.

<mark style="color:green;">`POST`</mark> `/themes/import/file`

Imports new theme from the provided zip file into the local DB.

#### Request Body

| Name                               | Type   | Description                                        |
| ---------------------------------- | ------ | -------------------------------------------------- |
| <mark style="color:red;">\*</mark> | String | A zip file that contains the theme to be imported. |

{% tabs %}
{% tab title="201: Created Successful Operation" %}

```
content:
            application/json:
              schema:
                $ref: "#/components/schemas/Theme"
```

{% endtab %}

{% tab title="401: Unauthorized Unauthorized" %}

{% endtab %}

{% tab title="403: Forbidden Forbidden" %}

{% endtab %}

{% tab title="500: Internal Server Error Internal Server Error" %}

```
content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
```

{% endtab %}
{% endtabs %}
