---
title: "Import group channel from OneAPI"
method: POST
path: "/api/group/{group}/channels/import/oneapi"
tags: ["group-channel"]
---

# Import group channel from OneAPI

`POST /api/group/{group}/channels/import/oneapi`

## Request

- The document declares no server URL.
- Auth: API key in header `Authorization`

Imports group channels from OneAPI into a group and atomically creates the group when it does not exist. Existing group configuration is preserved.

## Path parameters

- `group` string, required

## Request body

- ControllerImportChannelFromOneAPIRequest
  - `dsn` string
  - `group_id` string

## Response `200`

OK

- object
  - `data` unknown[]
    - unknown
  - `message` string
  - `success` boolean

## Changes

- **2026-10-12** `c2f7f35df2f5`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/labring/apis/ai-proxy-swagger-api/changes/api/group/:group/channels/import/oneapi/post.md)

---

[API](https://skmtc.dev/labring/apis/ai-proxy-swagger-api.md) - [All operations](https://skmtc.dev/labring/apis/ai-proxy-swagger-api/llms.txt) - [OpenAPI document](https://skmtc.dev/labring/apis/ai-proxy-swagger-api/revisions/c2f7f35df2f5?raw)
