Retrieving Lists in CRM
If you are developing integrations for Bitrix24 using AI tools (Codex, Claude Code, Cursor), connect to the MCP server so the assistant can utilize the official REST documentation.
CRM lists are data selections needed for integrations: duplicates by phone and email, CRM activities related to deals, stages, funnels, addresses, vendors, and entities at a selected stage.
A scenario is a sequence of requests for a single task. It describes the order of method calls and provides a code example.
Quick navigation: all scenarios
Interaction with CRM Objects
Scenarios are linked to clients, deals, SPAs, and inventory management.
- Leads, contacts, and companies. Duplicates are searched by phone and email, then data for leads, contacts, and companies is retrieved. The client's address is stored in requisites.
- Deals. The list of activities is built by
IDof deals. Stages and funnels help select deals for subsequent actions in CRM. Basic operations are performed using the methods crm.deal.*. - SPAs. Entities are filtered by stages through
entityTypeId— the identifier for the CRM object type. Entities can be retrieved using universal methods crm.item.*. - Vendors. Vendors are obtained from contacts or companies by category. The retrieved identifiers are passed to the inventory management method catalog.documentcontractor.add.
How to Get Started
- Identify the CRM object: lead, contact, company, deal, or SPA.
- Find the required scenario in the table How to Choose a Scenario.
- Check what access permissions and scopes are specified in the selected scenario.
- Execute the methods in the order described in the scenario.
- Use the obtained identifiers in subsequent CRM or inventory management requests.
How to Choose a Scenario
|
If you need |
Open |
|
Find duplicate leads, contacts, and companies by phone or email |
|
|
Gather activities related to a salesperson's deals and display responsible parties |
|
|
Retrieve CRM stages and semantic values for analyzing the object's status |
|
|
Get deal funnels and stages within each funnel |
|
|
Retrieve client requisites and the associated address |
|
|
Find vendors among contacts or companies |
|
|
Match stage names with identifiers and retrieve entities by filter |