Channels
Connecting a new bot through the API is not possible, as each messenger has its own characteristics. To add a bot, please use your personal cabinet.

How to determine bot (channel) status

Each channel connected to the HighTouch platform has two statuses:
  1. 1.
    Bot status
  2. 2.
    Adapter status
Bot status is used to manually stop and start the bot. Possible options: 1 - Bot created 3 - Stopped manually 5 - Launched
The status of the bot can be obtained by querying /bot/bots/:id/ in the field status
Adapter status reflects the connection status of the HighTouch platform and messenger servers for running bots (which have bot status 1).
Adapter status reflects the real state of the channel (bot). You can find it out by running the query/bot/bot/:id/status/. The possible statuses are listed in the documentation for this request.
If the bot is stopped manually, the status of the adapter is meaningless, because the HighTouch platform closes all connections to messenger servers. The possible statuses are listed in the documentation for this request.
get
https://app.hightouch.ai/api
/bot/bots/
Bot list
get
https://app.hightouch.ai/api
/bot/bots/:id/
Information about the bot
get
https://app.hightouch.ai/api
/bot/bot/:id/status/
Bot status
get
https://app.hightouch.ai/api
/bot/bot/:id/restart/
Reboot (reconnect) the bot
get
https://app.hightouch.ai/api
/bot/bot/:id/stop/
Stop the bot
delete
https://app.hightouch.ai/api
/bot/bots/:id/
Delete the bot