Views: 1920
Last Modified: 13.05.2022

Gets available chatbots

Attention! restCommand function is used here for illustration purposes only. It is taken from the EchoBot example. You can send a REST command with your own function, or use the BX24.callMethod or bitrix24-php-sdk methods.

Note: For chatbots to work properly, access to shall be authorized from Bitrix24 account or site.

CLIENT_ID parameter shall be specified for all methods to work with chatbots via Webhooks. Such code shall be unique for each chatbot.

Method call

$result = restCommand('', Array(
), $_REQUEST["auth"]);


Array of arrays, containing chatbots data:

  • ID - chatbot ID.
  • NAME - chatbot name.
  • CODE - internal code.
  • OPENLINE - enable or disable Open Channel support.

Courses developed by Bitrix24