ChannelCreate
A channel is a connected messaging account (a number/account on a provider such as Wazzup24, GreenAPI, Wappi, ChatPush, etc.) through which the platform sends and receives messages. ChannelSafeRead is the form returned by the API; it omits the provider credentials.
Human-readable channel name.
The channel's phone number or account identifier.
credentials objectrequired
Provider-specific authentication credentials for the channel (validated per vendor).
wazzup24 object
- ChannelWazzup24Credentials
- null
ID of the messaging channel this record relates to.
chatpush object
- ChannelChatpushCredentials
- null
ID of the messaging channel this record relates to.
self_wz object
- ChannelSelfWZCredentials
- null
all_creds object
- SelfWZAllCreds
- null
creds objectrequired
keys objectrequired
self_tg_bot object
Direct Telegram Bot API credentials (vendor "self_tg_bot"). The bot handles private chats only and cannot initiate a conversation.
- ChannelSelfTelegramBotCredentials
- null
Secret bot token issued by BotFather. It is used only for Telegram API calls and is omitted from channel responses.
channel_id object
Canonical Telegram bot user id. Omit it on create; the backend derives it from the numeric bot-token prefix.
- string
- null
Secret sent by Telegram in the X-Telegram-Bot-Api-Secret-Token header. Omit it on create to let the backend generate one.
greenapi object
- ChannelGreenAPICredentials
- null
ID of the messaging channel this record relates to.
wappi object
- ChannelWappiAPICredentials
- null
The Wappi profile identifier used for outbound API calls and inbound webhook matching.
api_key object
Optional per-channel Wappi API token override. When omitted, the global Wappi token from server config is used.
- string
- null
Set to true for Wappi MAX bot profiles so the connector routes MAX requests to the bot API surface instead of the personal-MAX one.
falseyandex_messenger object
- ChannelYandexMessengerCredentials
- null
channel_id object
ID of the messaging channel this record relates to.
- string
- null
salebot object
- ChannelSalebotCredentials
- null
ID of the messaging channel this record relates to.
bothelp object
- ChannelBotHelpCredentials
- null
channel_id object
ID of the messaging channel this record relates to.
- string
- null
access_token object
- string
- null
access_token_expires_at object
- date-time
- null
radist object
Credentials for a Radist.online channel (vendor "radist"). Required when creating such a channel.
- ChannelRadistCredentials
- null
The Radist.online API token (sent as the X-Api-Key header).
The Radist.online company id — an integer, present in every Radist API URL.
chatapp object
- ChannelChatAppCredentials
- null
channel_id object
ID of the messaging channel this record relates to.
- string
- null
access_token object
- string
- null
access_token_expires_at object
- date-time
- null
refresh_token object
- string
- null
refresh_token_expires_at object
- date-time
- null
fasttrack object
- ChannelFastTrackAPICredentials
- null
ID of the messaging channel this record relates to.
usedesk object
- ChannelUseDeskAPICredentials
- null
ID of the messaging channel this record relates to.
email object
- ChannelEmailCredentials
- null
twilio object
- ChannelTwilioAPICredentials
- null
ID of the messaging channel this record relates to.
phone_number_sid object
- string
- null
pinbox object
- ChannelPinboxCredentials
- null
ID of the messaging channel this record relates to.
unipile object
- ChannelUnipileCredentials
- null
ID of the messaging channel this record relates to.
amocrm_salesbot object
- ChannelAmoSalesBotAPICredentials
- null
ID of the messaging channel this record relates to.
bitrix24_openlines object
Routing credentials for a backend-managed Bitrix24 Open Lines channel. Clients normally do not create this channel manually.
- ChannelBitrix24OpenLinesAPICredentials
- null
ID of the Bitrix24 CRM integration that owns this synthetic channel.
config object
Channel-level configuration (JSON).
alias object
Optional CRM-facing value exactly matched when resolving imported chat-id contacts to this channel.
- string
- null
trueFastTrack channels only. When true, a customer's button press (postback) is answered as if the customer had typed the button's label. Defaults to false, in which case button presses are ignored and create no lead or dialogue. Note that config is replaced as a whole on update — send the full object with only this flag changed.
falseWhether an LLM router picks the target dialogue when several active dialogues share one physical chat on this channel (products/agents on a shared channel). Set to false to skip the LLM and always continue the newest dialogue. Defaults to true; only meaningful on shared channels. Note that config is replaced as a whole on update — send the full object with only this flag changed.
truetruelast_seen_msg_id object
- string
- null
radist_webhook_connection_ids object
Backend-managed registry of Radist.online connections that already have this channel's inbound webhook (connection id → Radist webhook id). Populated automatically when a chat is resolved; do not edit it, and preserve the received value when updating the config.
trueThe messaging platform (e.g. whatsapp, telegram, waba, instagram, email, sms).
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]
The provider/gateway powering the channel (e.g. wazzup24, greenapi, wappi, chatpush, self_wz, self_tg_bot).
Possible values: [wazzup24, self_wz, self_tg_bot, chatpush, greenapi, wappi, chatapp, yandex_messenger, salebot, bothelp, radist, fasttrack, usedesk, amocrm_salesbot, bitrix24_openlines, twilio, mail.ru, gmail, pinbox, unipile, voice]
Whether the external provider session is connected/authorized.
trueWhether the channel is enabled for use by the platform.
trueWhether the channel is archived (retired). Archiving also disables the channel — is_active and is_session_active are set to false in the same update, whatever values the request carries. While a channel is archived, requests to enable it are ignored; unarchive it first. Unarchiving does not re-enable it by itself.
falsecrm_integration_id object
- integer
- null
deactivated_until object
If set, the channel is paused until this time (UTC).
- date-time
- null
Max cold-outreach messages allowed through this channel per day.
7skip_outreach_until object
If set, cold outreach through this channel is paused until this time (UTC).
- date-time
- null
Max sub-outreach (into existing chats) messages per day — typically higher than cold outreach.
1000skip_sub_outreach_until object
If set, sub-outreach through this channel is paused until this time (UTC).
- date-time
- null
Minimum spacing between cold-outreach sends on this channel.
300Minimum spacing between sub-outreach sends on this channel.
200Whether this is a test channel.
falsewebhook_uuid object
Opaque identifier used to build the channel's inbound webhook URL.
- string
- null
Company that will own the channel. The backend creates the company-channel link from this value.
{
"name": "string",
"number": "string",
"credentials": {
"wazzup24": {
"api_key": "string",
"channel_id": "string"
},
"chatpush": {
"api_key": "string",
"channel_id": "string"
},
"self_wz": {
"all_creds": {
"creds": {},
"keys": {}
},
"qr": "string"
},
"self_tg_bot": {
"bot_token": "string",
"channel_id": "string",
"webhook_secret": "string"
},
"greenapi": {
"api_key": "string",
"channel_id": "string"
},
"wappi": {
"channel_id": "string",
"api_key": "string",
"is_max_bot": false
},
"yandex_messenger": {
"api_key": "string",
"channel_id": "string"
},
"salebot": {
"channel_id": "string",
"api_key": "string",
"group_ids": [
"string"
]
},
"bothelp": {
"channel_id": "string",
"client_id": "string",
"client_secret": "string",
"access_token": "string",
"access_token_expires_at": "2024-07-29T15:51:28.071Z"
},
"radist": {
"api_key": "string",
"company_id": 0
},
"chatapp": {
"channel_id": "string",
"license_id": 0,
"messenger_type": "string",
"app_id": "string",
"email": "string",
"password": "string",
"access_token": "string",
"access_token_expires_at": "2024-07-29T15:51:28.071Z",
"refresh_token": "string",
"refresh_token_expires_at": "2024-07-29T15:51:28.071Z"
},
"fasttrack": {
"channel_id": "string"
},
"usedesk": {
"channel_id": "string"
},
"email": {
"password": "string",
"username": "string"
},
"twilio": {
"api_key": "string",
"channel_id": "string",
"phone_number_sid": "string",
"account_sid": "string"
},
"pinbox": {
"api_token": "string",
"channel_id": "string"
},
"unipile": {
"channel_id": "string",
"api_key": "string",
"dsn": "string"
},
"amocrm_salesbot": {
"channel_id": "string"
},
"bitrix24_openlines": {
"channel_id": "string"
}
},
"config": {
"alias": "string",
"accept_comment_hooks": true,
"accept_postbacks": false,
"incoming_dialogue_router_enabled": true,
"fetch_only_unread": true,
"last_seen_msg_id": "string",
"radist_webhook_connection_ids": {},
"bitrix24_openlines_skip_operator_held_chats": true
},
"channel_type": "telegram",
"vendor": "wazzup24",
"is_session_active": true,
"is_active": true,
"is_archived": false,
"crm_integration_id": 0,
"deactivated_until": "2024-07-29T15:51:28.071Z",
"outreach_daily_limit": 7,
"skip_outreach_until": "2024-07-29T15:51:28.071Z",
"sub_outreach_daily_limit": 1000,
"skip_sub_outreach_until": "2024-07-29T15:51:28.071Z",
"add_outreach_interval_seconds": 300,
"add_sub_outreach_interval_seconds": 20,
"ping_interval_seconds": 0,
"is_test": false,
"webhook_uuid": "string",
"company_id": 0
}