v1

latestOpenAPI 3.1.02026-07-241630614.2 KB

Connect chat channel

post/{channel_id}/connect

Path parameters

channel_idstring required

You get the ID when registering a chat channel

Request body

account_idstring required
titlestring required

Chat channel name

hook_api_version'v2' required

The Chat API version

is_time_window_disabledboolean

Optional. False by default. If you have enabled the channel time window, you can use this parameter to disable it for your account.

Response

OK

account_idstring
scope_idstring
titlestring
hook_api_versionstring
is_time_window_disabledboolean

Example response

{
  "account_id": "52fd2a28-d2eb-4bd8-b862-b57934927b38",
  "scope_id": "f62a0162-46a7-430e-b06c-0ef798d56b21_52fd2a28-d2eb-4bd8-b862-b57934927b38",
  "title": "MyKommo",
  "hook_api_version": "v2"
}