imconnector.list
Scope: imconnector Permissions: for all
This method gets list of connectors.
Example
BX24.callMethod('imconnector.list', {}, function(result) { if(result.error()) { console.error(result.error().ex); } else { console.log(result.data()); } });
Response
List of connectors with names.
Response example
{ "livechat": "Online chat", "whatsappbytwilio": "WhatsApp", "viber": "Viber", "telegrambot": "Telegram", "imessage": "Apple Messages for Business", "facebook": "Facebook*: Messages", "facebookcomments": "Facebook*: Comments", "fbinstagramdirect": "Instagram* Direct", "network": "Bitrix24 Network", "notifications": "Bitrix24 SMS and WhatsApp", "whatsappbyedna": "Edna WhatsApp", "newcustomconnector": "new Super Connector" }
Possible error codes
Code | Description |
---|---|
ACCESS_DENIED | Current user does not have access. |
© «Bitrix24», 2001-2024