---
title: "Connect chat channel"
method: POST
path: "/{channel_id}/connect"
---

# Connect chat channel

`POST /{channel_id}/connect`

## Request

- Base URL: `https://amojo.kommo.com/v2/origin/custom`
- URL: `https://amojo.kommo.com/v2/origin/custom/{channel_id}/connect`
- Auth: none required

## Path parameters

- `channel_id` string, required

## Request body

- object
  - `account_id` string, required: Chats API account ID i.e. account: https://developers.kommo.com/reference/chat-api-accountid
  - `title` string, required: Chat channel name
  - `hook_api_version` 'v2', required: The Chat API version
  - `is_time_window_disabled` boolean: Optional. False by default. If you have enabled the channel time window, you can use this parameter to disable it for your account.

## Response `200`

OK

- object
  - `account_id` string
  - `scope_id` string
  - `title` string
  - `hook_api_version` string
  - `is_time_window_disabled` boolean

## Other responses

- `400`: Bad request
- `403`: Forbidden

---

[API](https://skmtc.dev/kommo/apis/chats-api.md) - [All operations](https://skmtc.dev/kommo/apis/chats-api/llms.txt) - [OpenAPI document](https://skmtc.dev/kommo/apis/chats-api/revisions/174554fdf536?raw)
