---
title: "Import Config"
method: POST
path: "/impex/import"
tags: ["impex"]
---

# Import Config

`POST /impex/import`

## Request

- Base URL: `https://app.zeno-works.ch` (the document declares no server; this is the origin it was published from)
- URL: `https://app.zeno-works.ch/impex/import`
- Auth: none declared

Import a config bundle (admin). Multipart field ``file`` (JSON export shape).

Bulk-creates new companies/integrations/users (skip-existing); secrets are
re-encrypted at rest. 413 over the configured upload cap; 422 ``{"msg": "Unable to
import file"}`` on a malformed or integrity-violating bundle.

## Headers

- `authorization` string, nullable

## Cookies

- `access_token` string, nullable

## Response `200`

Successful Response

- MsgResponse: The ``{"msg": "..."}`` envelope — the error contract and many successes.
  - `msg` string, required

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/zeno-works/apis/zeno-api.md) · [All operations](https://skmtc.dev/zeno-works/apis/zeno-api/llms.txt) · [OpenAPI document](https://skmtc.dev/zeno-works/apis/zeno-api/revisions/1eb93dde146c?raw)
