Skip to main content

CompanyLeadInfoChannelCreate

A destination (typically a Telegram chat/thread) where the company receives lead-info notifications from the platform.

company_idCompany Idrequired

ID of the owning company (the top-level tenant account).

config objectrequired

Notification destination configuration (target chat id, channel type, optional thread id).

channel_idChannel Idrequired

The destination chat/channel id at the provider.

channel_typeChannel Type

The messaging platform of the destination (defaults to telegram).

Possible values: [telegram, whatsapp, waba, max, viber, instagram, fasttrack, usedesk, salebot, avito, vk, yandex_messenger, email, sms, pinbox, linkedin, amocrm_salesbot, bitrix24_openlines, sip, webrtc, bothelp]

Default value: telegram
message_thread_id object

Optional thread id within the destination chat.

anyOf
string
is_activeIs Active

Whether notifications to this destination are enabled.

Default value: true
CompanyLeadInfoChannelCreate
{
"company_id": 0,
"config": {
"channel_id": "string",
"channel_type": "telegram",
"message_thread_id": "string"
},
"is_active": true
}