{% note tip "" %}
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.
{% endnote %}
{% include notitle iframe context %}
The method BX24.im.callTo sends a command to call a Bitrix24 user via internal communication.
void BX24.im.callTo(Integer userId[, Boolean video]){% include Note on required parameters %}
#|
|| Name
type | Description ||
|| userId*
integer | The identifier of the Bitrix24 user to be called ||
|| video
boolean | Type of call: true — video call, false — audio call ||
|#
{% include Note on examples %}
BX24.init(function () {
BX24.im.callTo(1, true);
});The method does not return data (void).