Configurable Activity Badges: 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 badge is an icon on the card of a CRM object in the kanban. The badge helps highlight entities that require attention. If multiple badges are added to an entity, only the most recently added badge will be displayed.

Quick navigation: all methods
Link with a Configurable Activity
A badge is not linked to a CRM entity directly. First, the application registers the badge using the crm.activity.badge.add method, and then specifies its code in the badgeCode field of a configurable activity when calling crm.activity.configurable.add or crm.activity.configurable.update.
The badge is displayed on the kanban of the object to which the activity is linked until the activity is closed.
Considerations Before Calling Methods
- The methods crm.activity.badge.add and crm.activity.badge.delete can only be executed by a user with administrative access to the CRM section.
- The methods crm.activity.badge.get and crm.activity.badge.list are available to any user.
- The badge
codemust be unique. A badge with a code that is already taken cannot be added. - A badge is retrieved and deleted by its code, not by its identifier.
How to Work with Badges
- Check the codes already in use with the crm.activity.badge.list method.
- Register the badge with the crm.activity.badge.add method.
- Check the badge by its code with the crm.activity.badge.get method.
- Specify the badge code in the
badgeCodefield of the configurable activity. - Delete a badge you no longer need with the crm.activity.badge.delete method.
Badge Record Fields
|
Field |
Description |
|
code |
Badge code, for example |
|
title |
Name of the badge. Can be a string or an array of strings for different languages |
|
value |
Text displayed inside the icon itself. It is shown in uppercase. Can be a string or an array of strings for different languages |
|
type |
Badge type, defines the color of the icon |
If title or value contains an array, the keys should be language codes, and the values should be text in those languages, for example:
{
"de": "Achtung",
"en": "Alarm"
}
If a translation for the current language is not found, the English version will be used. If the English translation is also not found, the first element of the array will be used.
Badge Type
In Bitrix24, there are several standard badges for different scenarios. The badge type can take the following values:
- success — green background
- failure — red background
- warning — yellow background
- primary — blue background
- secondary — gray background
Overview of Methods
Scope:
crmWho can execute the method: a user with administrative access to the crm section — for crm.activity.badge.add and crm.activity.badge.delete, any user — for crm.activity.badge.get and crm.activity.badge.list
|
Method |
Description |
|
Adds a new badge |
|
|
Retrieves information about a badge |
|
|
Retrieves a list of badges |
|
|
Deletes a badge by code |