Initialization and Authorization: Feature Overview
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.
System functions prepare the embedded application for operation. They are used prior to API calls and interface interactions.
The functions in this section work only within the context of the application.
Quick Navigation: All Functions
Getting Started
- Wait for the library to be ready via BX24.init to retrieve Bitrix24 data and proceed to the next calls.
- Register a handler through BX24.install if a first launch scenario for the current user is needed.
- Complete the setup by calling BX24.installFinish to transition to the standard application initialization.
- Obtain the current OAuth data via BX24.getAuth or refresh it through BX24.refreshAuth.
Feature Overview
Initialization and First Launch
|
Function |
Description |
|
Adds an event handler for "library ready for use" |
|
|
Registers a handler for the first launch of the application for the current user |
|
|
Completes the work of the installer or application setup wizard |
Application Authorization
|
Function |
Description |
|
Retrieves the current authorization data via OAuth 2.0 |
|
|
Forcefully refreshes the authorization key |