Views: 12322
Last Modified: 13.05.2022

Note: 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.


Attention! For chatbots to work properly, access to marta.bitrix.info shall be authorized from Bitrix24 account or site.

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


MethodDescription
imbot.register Registers chatbot.
imbot.unregister Deletes chatbot from system.
imbot.update Updates chatbot data.
imbot.bot.list Gets available chatbots.

Note: For chatbots to work properly, access to marta.bitrix.info 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.





Courses developed by Bitrix24