Events: Overview of Methods

If you are developing integrations for Bitrix24 using AI tools (Codex, Claude Code, Cursor), connect to the MCP server so that the assistant can utilize the official REST documentation.

This section describes how to retrieve events from the bot platform. The bot can operate in fetch mode, where it retrieves events via polling requests, or in webhook mode, where Bitrix24 sends events to the bot's URL.

Quick navigation: all methods

Event Delivery Modes

Mode

Description

When to use

fetch

The bot receives events through imbot.v2.Event.get

For AI agents, server-side bots, and integrations without a persistent HTTP server

webhook

Bitrix24 sends events to the bot's URL via HTTP POST

For bots with a persistent HTTP server

The mode is specified during bot registration using the eventMode parameter of the imbot.v2.Bot.register method.

Overview of Methods

Scope: imbot

Who can execute the methods: owner of the registered bot

Method

Description

imbot.v2.Event.get

Returns bot events in polling mode

Event Formats

Description of events and data structures

Continue Your Exploration