Back

Bitrix24 CRM API Essential Guide

Aug 14, 20246 minute read

What type of API does Bitrix24 CRM provide?

REST API

  • Bitrix24 offers a REST API for integrating with external systems, uploading data, and developing applications.

  • The REST API allows applications to access and modify data in Bitrix24, as well as react to data changes through REST event processing.

Key Features

  • The REST API supports events, allowing applications to automatically react to data changes in Bitrix24.

  • It provides methods for retrieving and updating CRM data, like contacts and deals.

  • The API can be used for various purposes like synchronizing data with external systems, verifying information consistency, and executing scripts automatically.

Development Options

  • Bitrix24 offers both traditional development methods using the REST API as well as low-code tools for simpler integrations.

  • Developers can create applications for the Bitrix24.Market, making their solutions available to a wide audience.

Best Practices

  • When developing applications, it's important to handle authorization properly, especially for mass-market applications that work across multiple Bitrix24 portals.

  • Developers should be careful to avoid infinite loops when working with events and updating data.

Does the Bitrix24 CRM API have webhooks?

Webhooks Support

Yes, the official Bitrix24 CRM API does support webhooks. Specifically:

  • Bitrix24 offers both inbound and outbound webhooks.
  • Outbound webhooks allow you to obtain information about events in Bitrix24.
  • Inbound webhooks can be created to process Bitrix24 data using the API.

Event Types

While the search results don't provide an exhaustive list of event types, they do mention some examples:

  • The REST API enables applications to react automatically to data alterations via REST event processing.
  • One example given is the OnCrmContactUpdate event, which is triggered when contact data is modified.
  • The documentation mentions that the REST API offers "a multitude of event types".

Creating and Using Webhooks

  • Webhooks can be created in the "Developer resources" section of Bitrix24.
  • Any user can create webhooks.
  • Webhooks use a secret key for authentication.
  • The webhook URL includes the REST API method being called (e.g., crm.lead.update).

Event Handling

  • When an event occurs, Bitrix24 sends a POST request to the specified handler with details about the event.
  • The POST request includes information such as the event type, relevant identifiers (e.g., contact ID), and authorization data.
  • Developers need to be careful to avoid creating infinite loops when handling events that modify data.

Best Practices

  • For mass-market applications, it's important to securely store and renew authorization tokens.
  • Applications should specify the current portal for each REST request call when operating across multiple portals.
  • Developers should implement checks to prevent unnecessary data updates that could trigger additional events.

In summary, the Bitrix24 CRM API does support webhooks and offers a variety of events that developers can subscribe to. While the specific list of all available events is not provided in these search results, it's clear that the API offers extensive capabilities for reacting to data changes and automating processes within Bitrix24.

Rate Limits and other limitations

Based on the search results provided, I could not find specific information about the API rate limits for the Bitrix24 CRM API. The search results do not contain details about rate limiting or quotas for API usage.

However, I can provide some general information about the Bitrix24 API based on the search results:

Key Points:

  1. Bitrix24 offers a REST API that allows developers to access various Bitrix24 tools and features, including CRM, workflows, drive, social network, telephony, and more [2].

  2. To use the REST API methods, third-party applications need to be registered in the Bitrix24 Marketplace [2].

  3. The API uses OAuth 2.0 for authorization [2].

  4. There is a possibility of API overload, as indicated by an error message mentioned in the search results [2]:

[
'error' => 'OVERLOAD_LIMIT',
'error_description' => 'REST API is blocked due to overload.'
]
  1. Bitrix24 provides documentation and training courses for developers interested in using their API [3][4].

  2. From January 1, 2021, Bitrix24.Market apps, REST API, and webhooks are only available on commercial plans [3].

Best Practices:

  1. When developing applications, consider using the provided JavaScript library to overcome iframe restrictions and access native interfaces [4].

  2. Follow the Bitrix24 App Design Guidelines for a standardized user experience [4].

  3. Be aware of the different types of applications that can be developed for Bitrix24 (cloud-hosted, third-party hosted, and external applications) [4].

  4. When registering your application in Bitrix24 Market, carefully select the data items your application will access to assign appropriate user data access permissions [4].

While the search results do not provide specific rate limit information, the presence of an overload error suggests that there are some limitations in place. For accurate and up-to-date information on API rate limits, it would be best to consult the official Bitrix24 API documentation or contact their support team directly.

Latest API Version

Based on the search results provided, I could not find a specific mention of the most recent version of the Bitrix24 CRM API. However, I can provide some relevant information about Bitrix24's API and recent updates:

Key Points:

  1. Bitrix24 offers a REST API that allows developers to extend and customize the platform's functionality [2][3].

  2. The most recent update to the CRM module mentioned in the search results is version 24.500.0, released on May 25, 2024 [1].

  3. Bitrix24 regularly updates various modules of their platform, with the most recent updates for different modules ranging from March to July 2024 [1].

API Documentation:

  • Bitrix24 provides documentation on their REST API for developers on their training page.

Recent Changes:

  • In July 2023, Bitrix24 announced important changes to their REST API, Market, Telephony, and Search features in the cloud version [5].

API Features:

  • The Bitrix24 REST API is open for various parts of the product, including tasks, workgroups, projects, data storage, calendars, and more [3].

  • Developers can use the API for custom task automation, data import/export, and creating custom widgets [3].

While I couldn't find the exact version number of the most recent Bitrix24 CRM API, it's clear that Bitrix24 regularly updates their platform and API. To get the most up-to-date information on the latest API version, it would be best to check the official Bitrix24 developer documentation or contact their support directly.

How to get a Bitrix24 CRM developer account and API Keys?

To get a developer account for Bitrix24 CRM and create an API integration, you can follow these steps:

  1. Create a free Bitrix24 account:

    • Go to the Bitrix24 website and sign up for a free cloud account.
    • You can use an existing account if you already have one, including self-hosted versions.
  2. Activate REST API access:

    • Once logged in, you'll need to activate REST API access for your account.
    • This gives you the ability to use the Bitrix24 REST API.
  3. Review the REST API documentation:

    • Bitrix24 provides comprehensive documentation on their REST API.
    • You can find this on their training page or developer resources.
  4. Use the Request Builder:

    • Bitrix24 offers a built-in request builder tool.
    • This allows you to create and test REST API requests directly from the interface.
  5. Create webhooks:

    • Set up inbound webhooks to process Bitrix24 data using the API.
    • Configure outbound webhooks to receive information about events in Bitrix24.
  6. Develop your integration:

    • Use the REST API to create your custom integration or app.
    • You can develop solutions for your own needs or create market-wide applications.
  7. (Optional) Publish on Bitrix24.Market:

    • If you've created a widely applicable solution, you can publish it on Bitrix24.Market.
    • This allows you to offer your integration to millions of Bitrix24 users worldwide.

What can you do with the Bitrix24 CRM API?

Based on the search results provided, here is a list of data models that can be interacted with using the Bitrix24 CRM API, along with what is possible for each:

Leads, Deals, Contacts, and Companies

  • Create, read, update, and delete records
  • Manage custom fields
  • Track activities and communications
  • Associate records with each other

Tasks and Projects

  • Create and manage tasks
  • Organize tasks into projects
  • Set deadlines and priorities
  • Assign tasks to users
  • Track task progress and completion

Calendars

  • Create and manage calendar events
  • Set reminders
  • Invite attendees
  • Sync with external calendars

Workgroups

  • Create and manage workgroups
  • Add/remove members
  • Share files and collaborate within groups

Data Storage

  • Store and retrieve files and documents
  • Manage folder structures
  • Set permissions on files

Sales Pipelines

  • Configure custom sales stages
  • Move deals through pipeline stages
  • Track deal progress and conversion rates

Invoices and Payments

  • Create and manage invoices
  • Process payments through integrated payment systems
  • Track payment status

Marketing Campaigns

  • Create and manage email marketing campaigns
  • Track campaign performance metrics
  • Manage subscriber lists

Reports and Analytics

  • Generate custom reports on CRM data
  • Analyze sales performance and trends
  • Create dashboards with key metrics

Communication Channels

  • Integrate with email, chat, and phone systems
  • Log communication history with contacts
  • Automate follow-up tasks and reminders

Custom Widgets

  • Develop custom UI elements for the Bitrix24 interface
  • Display relevant data and functionality

Automation and Workflows

  • Create custom automation rules and triggers
  • Set up complex business processes across CRM entities

User Management

  • Create and manage user accounts
  • Set user roles and permissions
  • Track user activity within the system

This list covers the main data models and functionalities available through the Bitrix24 CRM API. The API allows for extensive customization and integration possibilities across these various components of the CRM system.