Data Storage: 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.
Data storages allow developers to create applications that extend the capabilities of Bitrix24. They can store a variety of information: client records, inventory details, product information, and other data.
Each storage represents an information block and is available after registering the application in Bitrix24. There is no visual interface for the storage.
Quick navigation: all methods
Methods in this section work only in the context of an application. An application works only with its own storages and does not see the storages of other applications.
Data Structure
Storages. Containers for application data. Each storage has a symbolic identifier, a name, and access permissions. Storages can be managed using the methods entity.*.
Sections. Designed for grouping data and building a convenient hierarchy. Sections can be managed using the methods entity.section.*.
Items. Store application data. Items can be created, modified, and deleted using the methods entity.item.*.
Item Properties. Define additional fields for items. Any storage allows you to configure such properties using the methods entity.item.property.*.
Getting Started
-
Create a storage using the entity.add method — specify the
ENTITYidentifier, a name, and access permissions -
Define additional fields for items using the entity.item.property.add method
-
If the data needs to be grouped, create sections using the entity.section.add method
-
Add items using the entity.item.add method
-
Retrieve the data using the entity.item.get and entity.section.get methods
Storage Identifier
ENTITY is the symbolic identifier of the storage. It is set at creation and passed to every method in this section.
Requirements for the identifier:
- the characters
a-z,A-Z,0-9, and_are allowed, for exampledish - the maximum length is calculated dynamically using the formula
50 - strlen("APP_<clientId>_")— in most cases for Bitrix24 this is 13 characters - the identifier is unique within the application
To retrieve the list of application storages and their identifiers, use the entity.get method. To rename a storage, use the ENTITY_NEW parameter of the entity.update method.
Access Permission Levels
Access permissions are set in the format {"access_code":"permission_level"}, for example {"U1":"W","AU":"R"}. Standard Bitrix24 access codes are used:
U<id>— a user, for exampleU1G<id>— a user group, for exampleG2AU— all authorized users
To check the name of an access code, use the access.name method.
|
Level |
What it allows |
|
|
Read the sections and items of the storage |
|
|
Read the data, as well as create, modify, and delete sections and items |
|
|
All actions of the |
The methods do not accept other levels — such permission records are not added. The user who creates a storage or changes its permissions is always granted the X level.
Permissions are managed through the ACCESS parameter of the entity.add and entity.update methods, or through the separate entity.rights method.
Overview of Methods
Scope:
entityWho can execute the method: depending on the method
Storages
|
Method |
Description |
|
Adds a data storage |
|
|
Updates the parameters of the data storage |
|
|
Retrieves the parameters of the data storage or the list of application storages |
|
|
Deletes the data storage |
|
|
Retrieves or changes access permissions for the data storage |
Sections
|
Method |
Description |
|
Adds a data storage section |
|
|
Updates a data storage section |
|
|
Retrieves the list of data storage sections |
|
|
Deletes a data storage section |
Items
|
Method |
Description |
|
Adds a data storage item |
|
|
Updates a data storage item |
|
|
Retrieves the list of data storage items |
|
|
Deletes a data storage item |
Item Properties
|
Method |
Description |
|
Adds a property for data storage items |
|
|
Updates a property for data storage items |
|
|
Retrieves the list of properties for data storage items |
|
|
Deletes a property for data storage items |
An information block is a special object for storing news, services, articles, product catalogs, and other data that has a clear structure.