Access Permissions for Methods and Scopes
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.
Scopes define which groups of methods the application will have access to. A scope is represented by a short code, such as crm, telephony, or user. When you add a mass-market solution in the partner's account or an on-premise solution in Bitrix24, specify the scopes that the application needs to function.
Quick navigation: overview of pages
User documentation: Create webhooks and apps in Bitrix24
How to Determine Which Scopes Are Needed for the Application
Start not with a list of all scopes, but with the application's scenario. Identify which methods the application will call directly and check the Scope block on the pages of those methods.
For example, the application connects external telephony and directly calls the methods telephony.externalCall.register and telephony.externalCall.finish. Since the application calls telephony methods, the telephony scope is required in its settings.
The crm scope is not needed for these actions, even though telephony methods may interact with CRM within Bitrix24: telephony.externalCall.register can automatically create a CRM entity, such as a lead, while telephony.externalCall.finish saves the call in a CRM activity.
The crm scope is only necessary if the application itself sends requests to CRM methods, such as crm.lead.add or crm.activity.add.
The order of selecting scopes:
- Find the method pages needed for the scenario.
- Check the code in the
Scopeblock at the top of each method page. - Add only the scopes of the methods that the application calls directly to the application settings.
- Review the line
Who can execute the method. - If the method requires administrator confirmation, use the scenario from the article Calling Methods with Confirmation.
How Scopes Differ from User Permissions
Scopes and user permissions are checked separately.
A scope indicates whether the application is allowed to access a group of methods. User permissions indicate whether a specific user can perform an action in Bitrix24.
At the beginning of each method's page, there is a block:
Scope:
crmWho can execute the method: any user
If the line Who can execute the method specifies administrative rights or a special tool permission, a single scope is not sufficient. The method must be executed on behalf of a user who has the necessary permissions.
Overview of Pages
|
Page |
What it helps to do |
|
Find the scope code and the associated Bitrix24 tool |
|
|
Prepare the application for methods that require administrator permission |