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
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
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.
The 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).
Possible values: [wazzup24, self_wz, 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.
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.
20Whether 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"
},
"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,
"fetch_only_unread": true,
"last_seen_msg_id": "string",
"radist_webhook_connection_ids": {}
},
"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,
"is_test": false,
"webhook_uuid": "string",
"company_id": 0
}