Contacts in CRM: Overview of Methods
Choose a tool for working 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 and the AI agent rules to have the agent write integration code or work with Bitrix24 data on your behalf. The agent refers to the official REST documentation, confirms actions with consequences, and verifies the result
A contact is a CRM object that stores data about clients—individuals. The contact card stores phone numbers, email addresses, and messenger identifiers that you can use to communicate with the client directly from Bitrix24.
Development of the crm.contact.*, crm.contact.company.*, crm.contact.details.configuration.*, and crm.contact.userfield.* methods has been discontinued. For new development, use the contact methods in REST 3.0 — see the replacement table in Current API Version.
Quick navigation: all methods and events
User documentation: contacts in Bitrix24
Current API Version
Contact methods are available in REST 3.0 under the same names, for example crm.contact.add, but are called at /rest/api/. The crm.contact.* methods belong to the previous API version — retain them only in existing integrations. Replacements for all CRM methods are listed on the Migrate to New CRM Methods page.
|
Previous Version Method |
REST 3.0 Equivalent |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
crm.contact.get and crm.contact.update with the |
|
|
crm.contact.detailpagelayout.*. The |
|
|
crm.contact.field.custom.*. Only crm.contact.userfield.add can create |
Field names differ: crm.contact.* accepts and returns fields in UPPER_CASE format, for example LAST_NAME, while REST 3.0 uses camelCase, for example lastName. Contact fields in REST 3.0 are described on the Contact Fields page.
How to Get Started
This sequence is for existing integrations that use previous-version methods. For new development, use the equivalents in Current API Version.
- Retrieve the description of contact fields with the crm.contact.fields method — it returns system and custom fields with their types.
- Create a contact with the crm.contact.add method. If
NAMEandLAST_NAMEare not filled in, the contact is created with the last nameContact #N, whereNis its identifier. Pass phone numbers and e-mail in the multiple fieldsPHONEandEMAIL— these are arrays of objects with theVALUEandVALUE_TYPEkeys. - Link the contact to companies with the crm.contact.company.* methods if the client represents several companies.
- Find the contacts you need with the crm.contact.list method: it accepts
filter,order, andselect, and returns the result in pages of 50 records. - Communicate with the client in the contact card — with activities crm.activity.* and timeline records crm.timeline.*.
- Subscribe to contact events to receive notifications about changes in your application.
Example contact data with a phone number and e-mail:
{
"NAME": "Klaus",
"PHONE": [{"VALUE": "+4915123456789", "VALUE_TYPE": "WORK"}],
"EMAIL": [{"VALUE": "klaus@example.com", "VALUE_TYPE": "WORK"}]
}
Relationships with Other CRM Objects
Deal, lead, SPA. Any CRM object that has the standard field Client is connected to contacts. The connection is managed by the methods for deals, leads, and SPAs in REST 3.0: contact identifiers are passed in the contact linking fields of these objects.
Company. A single contact can be linked to multiple companies. This connection is managed using the group of methods crm.contact.company.*. When you select a company in the Client field in deals or SPAs, all associated contacts are automatically pulled into the field.
Requisites. Requisites are a separate object. Contact requisites are created and modified using the REST 3.0 methods crm.contact.requisite.*, and contact addresses using crm.contact.address.*. In the previous API version, these are the crm.requisite.* and crm.address.* methods, where a requisite is linked to a contact using the ENTITY_TYPE_ID = 3 and ENTITY_ID fields. Requisites are displayed in the Requisites field of the contact card. For details, see Requisite Links with CRM Objects.
User Documentation
Contact Card
The main workspace in a contact is the General tab of its card. It consists of two parts:
-
The left part contains fields with information. If the system fields are insufficient, you can create your own custom fields. They allow you to store information in various data formats: string, number, link, address, and others. Custom contact fields are managed by the crm.contact.userfield.* methods.
-
The right part contains the contact's timeline with activities and records. The methods for working with them are listed in step 5 of How to Get Started.
The parameters of the contact card can be managed through the group of methods crm.contact.details.configuration.*.
User Documentation
Widgets
You can embed an application into the contact card and work with it without leaving the card.
There are two ways to embed an application:
- use special embedding locations, for example, create your own tab
- create a custom field that loads the interface of your application
Typical use-cases and scenarios
Overview of Methods and Events
Scope:
crmWho can execute the method: depending on the method. Contact methods check access permissions for contacts, and company linking methods check permissions for contacts and companies. Any user can retrieve and modify their own personal card settings. Shared settings can be changed by a user with the "Manage CRM item form layout" or "Edit CRM preferences" permission in CRM. Custom fields can be created, modified, and deleted by a user with the "Edit CRM preferences" permission in CRM. Any user can subscribe to events. Administrator permissions are required for offline events
Basic
|
Method |
Description |
|
Creates a new contact |
|
|
Updates an existing contact |
|
|
Returns a contact by ID |
|
|
Returns a list of contacts by filter |
|
|
Deletes a contact |
|
|
Returns the description of contact fields, including custom fields |
|
Event |
Triggered |
|
When a contact is created |
|
|
When a contact is updated |
|
|
When a contact is deleted |
Companies
|
Method |
Description |
|
Adds a company to the specified contact |
|
|
Removes a company from the specified contact |
|
|
Returns the set of companies associated with the specified contact |
|
|
Sets the set of companies associated with the specified contact |
|
|
Clears the set of companies associated with the specified contact |
|
|
Returns the description of fields for contact-company connection |
Custom Fields
|
Method |
Description |
|
Creates a custom field for contacts |
|
|
Modifies an existing custom field for contacts |
|
|
Returns a custom field for contacts by ID |
|
|
Returns a list of custom fields for contacts |
|
|
Deletes a custom field for contacts |
|
Event |
Triggered |
|
When a custom field is added |
|
|
When a custom field is updated |
|
|
When a custom field is deleted |
|
|
When values are set for a list-type custom field |
Managing Contact Cards
|
Method |
Description |
|
Returns the settings of the contact card |
|
|
Sets the settings of the contact card |
|
|
Resets the settings of the contact card |
|
|
Forcefully sets a common contact card for all users |