---
title: "Create Connection"
method: POST
path: "/api/kiwi-connections"
tags: ["Kiwi Connections"]
---

# Create Connection

`POST /api/kiwi-connections`

## Request

- Base URL: `https://api.qomplement.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.qomplement.com/api/kiwi-connections`
- Auth: HTTP bearer

Create a new Kiwi connection

## Request body

- KiwiConnectionCreate
  - `name` string, required
  - `instance_url` string, required
  - `api_token` string, required
  - `default_agent_id` string, nullable
  - `default_agent_name` string, nullable
  - `metadata_json` object, nullable
  - `from_kiwi` boolean, nullable

## Response `200`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/qomplement/apis/qomplement-api.md) - [All operations](https://skmtc.dev/qomplement/apis/qomplement-api/llms.txt) - [OpenAPI document](https://skmtc.dev/qomplement/apis/qomplement-api/revisions/6fe617c112ef?raw)
