Sources: 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.
A source is a separate connection to an external system in the BI connector module. The source defines which specific data from the external system will be available for use in reports and analytics in Bitrix24.
Quick navigation: All Methods
User documentation: BI Builder: Datasets
Methods work only in the context of the application
Connection of the Source with the Connector and Datasets
The source is registered through the connector. In the hierarchy of the BI connector module, sources occupy an intermediate level:
- Connector establishes a connection with an external data source.
- Source defines the access parameters for the data.
- Dataset forms the final set of data that can be used in reports and analytics.
Description of Source Fields
|
Name |
Description |
|
id |
Unique source identifier |
|
title |
Source name |
|
type |
Source type, value is always equal to |
|
code |
Source code, service field |
|
description |
Source description |
|
active |
Source activity status |
|
dateCreate |
Source create date |
|
dateUpdate |
Source update date |
|
createdById |
Identifier of the user who created the source |
|
updatedById |
Identifier of the user who updated the source |
|
connectorId |
Identifier of the connector to which the source is linked |
|
settings |
Settings Field
The settings field contains a list of parameters for authorization via the connector. Parameters are passed in an object format, where the key is the identifier of the code parameter.
The code values are stored in the settings field of the connector. They can be retrieved using the biconnector.connector.list or biconnector.connector.get methods. If the connector contains a parameter with the code token, when creating a source, pass the value in the object settings:
{
"fields": {
"connectorId": 12,
"title": "Sales source",
"settings": {
"token": "12345"
}
}
}
Before You Begin
- Create a connector using the biconnector.connector.add method or select an existing connector using the biconnector.connector.list method
- Retrieve the authorization parameter codes from the
settingsfield of the connector - Create a source using the biconnector.source.add method and pass
connectorIdand the authorization values into thesettingsfield - Verify the source using the biconnector.source.get or biconnector.source.list method
Overview of Methods
Scope:
biconnectorWho can execute methods: A user with access to the "Analytics hub" section
|
Method |
Description |
|
Adds a new source |
|
|
Updates an existing source |
|
|
Returns information about the source |
|
|
Returns a list of available sources |
|
|
Deletes a source |
|
|
Returns the description of the source fields |