Main Content Area of Configurable Activity

Choose a tool for developing with an AI agent:

  • use Alaio Vibecode to build an app for Bitrix24 from a task description without knowing any programming language. The agent writes the code and deploys the app to a server, with no manual hosting setup
  • use the MCP server to develop a REST API integration in your own project. The agent refers to the official REST documentation

BodyDto is the main content area of the timeline entry: a logo and a set of content blocks that make up the entry content. The object is passed in the body field of the configurable activity structure when calling the methods crm.activity.configurable.add and crm.activity.configurable.update.

Block types and their fields are described on the content block page. For ready-to-use combinations — an entry with a set of fields, different action types, and multiple languages — see Activity Configuration Examples.

Parameters of the BodyDto Object

Required parameters are marked with *

Field

Description

logo*
LogoDto

Logo of the entry

blocks*
object

Content blocks of the entry: the key is a block identifier that you define yourself, and the value is a ContentBlockDto object. The key may contain Latin letters, digits, hyphens, and underscores. Pass at least one block, but no more than 20

If the structure violates these restrictions, the method returns a validation error. Error codes are listed on the pages crm.activity.configurable.add and crm.activity.configurable.update.

LogoDtoObject

Logo of the timeline entry.

Parameters of the LogoDto Object

Required parameters are marked with *

Field

Description

code*
string

Logo code, for example call-incoming or notification. All available codes are returned by the crm.timeline.logo.list method. A custom logo is added by the crm.timeline.logo.add method

action
ActionDto

Action to be taken when the logo is clicked

Example Object

The value of the body field: an incoming call logo with a link to a deal and one text block.

{
            "logo": {
                "code": "call-incoming",
                "action": {
                    "type": "redirect",
                    "uri": "/crm/deal/details/123/"
                }
            },
            "blocks": {
                "text": {
                    "type": "text",
                    "properties": {
                        "value": "The client confirmed the meeting"
                    }
                }
            }
        }
        

Continue Learning