Timeline and Activities in CRM: 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.
The timeline is the primary workspace in the CRM entity detail form. It records:
- system information about working with the entity: stage changes, payments, and the creation of entities based on the current one
- user information: CRM activities (tasks, e-mails, calls) and timeline entries (comments, documents generated from templates, application log entries)
Quick navigation: All Methods and Events
User documentation: Timeline in Bitrix24, Universal Activity in Bitrix24
How to Choose a Section
The timeline holds two kinds of objects: activities and timeline entries. Each has its own group of methods.
|
What You Need |
Section to Open |
|
Create a call, meeting, e-mail, or another activity in the entity detail form |
|
|
Leave a text comment with files in the entity detail form |
|
|
Write a service message from an application to the timeline |
|
|
Link an existing timeline entry to another CRM entity |
|
|
Add a short note to an activity or a comment |
|
|
Display a custom application interface inside a timeline entry |
|
|
Pin an entry to the top of the timeline |
Activities
Activities in CRM are divided into incoming and scheduled:
- Incoming — activities received from the customer, such as an e-mail or a call. For these activities, it is important to correctly specify the parameter
DIRECTION=1so that the incoming CRM activities counter works - Scheduled — activities created by employees, such as tasks or universal activities
More details about activities and methods for managing them can be found in the article Activities in CRM: Overview of Methods.
Timeline Entries
Timeline entries are divided into two types:
- Comments. You can add, delete, modify, and retrieve comments through the group of methods crm.timeline.comment.*
- Log entries. You can add, delete, modify, and retrieve log entries through the group of methods crm.timeline.logmessage.*
You can manage the relationships of timeline entries with CRM entities using the methods from the group crm.timeline.bindings.*.
How to Get Started
- Identify the CRM entity in whose timeline you are going to work: look up its type
entityTypeIdin the CRM Object Types reference, and retrieve theentityIdidentifier with the crm.item.list and crm.item.add methods. - Choose the object: an activity — with the crm.activity.* methods, a comment — with the crm.timeline.comment.* methods, a log record — with the crm.timeline.logmessage.* methods.
- Create the object and retain its identifier from the response.
- Extend the entry if needed: with a note crm.timeline.note.save, with content blocks crm.timeline.layout.blocks.set, or by pinning it crm.timeline.item.pin.
- Subscribe to activity and comment events to track changes in real time.
Widgets
You can embed an application into activities and timeline entries. Thanks to the embedding, you can use the application without leaving the CRM entity detail form. For embedding, there are special places in the timeline:
- Button Above the Timeline of the Entity Detail Form
CRM_XXX_DETAIL_ACTIVITY,CRM_DYNAMIC_XXX_DETAIL_ACTIVITY - Context Menu Item of the Activity in the Entity Detail Form
CRM_XXX_ACTIVITY_TIMELINE_MENU
Typical use-cases and scenarios
Additional Features
Text notes can be added to activities and timeline comments and deleted. Use the group of methods crm.timeline.note.*.
Content blocks can be added to timeline comments and deleted. Use the group of methods crm.timeline.layout.blocks.*.
Overview of Methods and Events
Scope:
crmWho can execute the methods: depends on the method
CRM Activities
Activity methods are covered in the Activities in CRM section.
|
Method |
Description |
|
Create, update, retrieve, and delete activities of all types |
|
|
Manage the links between an activity and CRM entities |
|
|
Manage custom activity types |
|
|
Manage universal activities |
|
|
Manage configurable activities |
|
|
Manage badges of configurable activities |
|
|
Manage content blocks within an activity |
|
Event |
Triggered |
|
When an activity is created manually or via the crm.activity.add method |
|
|
When an activity is updated manually or via the crm.activity.update method |
|
|
When an activity is deleted manually or via the crm.activity.delete method |
Timeline Comments
|
Method |
Description |
|
Adds a new comment to the timeline |
|
|
Updates a comment |
|
|
Gets information about a comment |
|
|
Gets a list of all comments for a CRM item |
|
|
Deletes a comment |
|
|
Gets a list of timeline comment fields |
|
Event |
Triggered |
|
When a comment is created manually or via the crm.timeline.comment.add method |
|
|
When a comment is updated manually or via the crm.timeline.comment.update method |
|
|
When a comment is deleted manually or via the crm.timeline.comment.delete method |
Notes for Timeline Entries
|
Method |
Description |
|
Retrieves information about a note |
|
|
Saves a note |
|
|
Deletes a note |
Managing Timeline Entry Relationships
|
Method |
Description |
|
Adds a binding of the timeline record with a CRM entity |
|
|
Retrieves a list of relationships for a timeline entry |
|
|
Removes the binding of the timeline record with a CRM entity |
|
|
Retrieves the fields of the relationship between CRM entities and timeline entries |
Additional Content Blocks
|
Method |
Description |
|
Sets a set of additional content blocks in the timeline entry |
|
|
Retrieves the set of additional content blocks installed by the application for the timeline entry |
|
|
Deletes the set of additional content blocks installed by the application for the timeline entry |
Application Log Entry Journal
|
Method |
Description |
|
Adds a new log entry to the timeline |
|
|
Retrieves information about a log entry |
|
|
Retrieves a list of all log entries for a specific entity |
|
|
Deletes a log entry |
|
|
Manages entry icons |
|
|
Manages entry logos |
Actions with Timeline Entries
|
Method |
Description |
|
Pins a record in the timeline |
|
|
Unpins a record in the timeline |