MTS SMS (Belarus) Integration with Bitrix24

Our company is engaged in the development, support and maintenance of Bitrix and Bitrix24 solutions of any complexity. From simple one-page sites to complex online stores, CRM systems with 1C and telephony integration. The experience of developers is confirmed by certificates from the vendor.
Showing 1 of 1All 1626 services
MTS SMS (Belarus) Integration with Bitrix24
Medium
~1-2 weeks
Frequently Asked Questions

Our competencies:

Development stages

Latest works

  • image_website-b2b-advance_0.webp
    B2B ADVANCE company website development
    1360
  • image_bitrix-bitrix-24-1c_fixper_448_0.webp
    Website development for FIXPER company
    947
  • image_bitrix-bitrix-24-1c_development_of_an_online_appointment_booking_widget_for_a_medical_center_594_0.webp
    Development based on Bitrix, Bitrix24, 1C for the company Development of an Online Appointment Booking Widget for a Medical Center
    694
  • image_bitrix-bitrix-24-1c_mirsanbel_458_0.webp
    Development based on 1C Enterprise for MIRSANBEL
    832
  • image_crm_dolbimby_434_0.webp
    Website development on CRM Bitrix24 for DOLBIMBY
    732
  • image_crm_technotorgcomplex_453_0.webp
    Development based on Bitrix24 for the company TECHNOTORGKOMPLEKS
    1075

We often encounter this situation: the sales team works in Bitrix24, but SMS notifications to customers go through the MTS Communicator personal account. A manager manually transfers the number from the CRM to the MTS interface, types the message, and clicks 'Send'. The delivery status stays in the MTS account — the CRM doesn't see it. As the business scales, manual work becomes a bottleneck, consuming up to 30% of managers' time. The MTS SMS Bitrix24 integration via MTS Communicator solves this: we link B24 and MTS SMS into a single chain — sending from the CRM card, automatic robots based on funnel stages, delivery status feedback. We guarantee stable operation and full transparency. Our experience in Bitrix24 integrations exceeds 10 years, and we have implemented over 50 SMS automation projects. Contact us for a detailed discussion of your scenario.

How to Connect MTS SMS to Bitrix24?

MTS Belarus provides an SMS gateway via the MTS Communicator platform. Access to the API is granted after signing a contract for the SMS service. Technical details:

  • Protocol: HTTP/HTTPS API (REST). Integration via HTTP API is 2 times faster than via SMPP and does not require a daemon with a persistent connection.
  • Authentication: by token (API key), issued in the MTS Communicator personal account after activating the service.
  • Number format: international +375XXXXXXXXX. The MTS API strictly validates the format — numbers without a country code or in 80XX format are rejected with an error.
  • Limits: a rate limit on requests per second is set when connecting. Typical value is 10–30 SMS/sec. For mass mailings via CRM marketing, this limit must be considered.

Sender ID Registration

MTS Belarus requires mandatory registration of an alphanumeric sender name. Without a registered Sender ID, SMS will not be sent — the API will return an error. Our experience shows the process takes 5–14 business days, and we help prepare the document package.

Registration process:

  1. Prepare an application on the organization’s letterhead indicating the desired name (up to 11 Latin characters).
  2. Copy of the legal entity registration certificate.
  3. Submit via an MTS manager or personal account.
  4. Approval — from 5 to 14 business days. MTS checks that the name does not coincide with registered trademarks of third parties.
  5. Activation — the name appears in the list of available names in the personal account.

You can register multiple Sender IDs: one for transactional SMS (e.g., company name), another for marketing mailings. The desired Sender ID is specified in the handler depending on the message type.

Registering a Provider in Bitrix24

Connection via the messageservice module. The handler is registered with a public URL on your server that acts as middleware between B24 and the MTS SMS API. Example setup:

messageservice.sender.add({
  CODE: "mts_sms_by",
  TYPE: "SMS",
  HANDLER: "https://[your-domain]/handler/mts-sms.php"
})

The handler (HANDLER) acts as a middleware between B24 and the MTS SMS API:

  1. Accepts POST from B24: message_to, message_body, message_id.
  2. Normalizes the phone number to +375XXXXXXXXX format.
  3. Forms a request to the MTS API: endpoint, API key, recipient number, text, Sender ID.
  4. Receives response: message_id from MTS, acceptance status into the queue.
  5. Saves the mapping message_id (B24) ↔ message_id (MTS).
  6. Responds to Bitrix24 with confirmation.

After registration, MTS SMS becomes available: in manual sending from the contact/deal card, in CRM robots, in business processes, and in CRM marketing.

Delivery Statuses: Callback and Polling

The MTS Communicator supports DLR (Delivery Report) — notifications about delivery status via a callback URL.

MTS statuses (based on MTS Communicator API Reference):

Status Description Mapping to B24
DELIVRD Delivered to subscriber Delivered
EXPIRED Delivery time expired (usually 24h) Not delivered
UNDELIV Subscriber not reachable Not delivered
REJECTD Rejected (blacklist, filter) Error
ACCEPTD Accepted by operator, awaiting delivery Sent
UNKNOWN Status unknown Sent

Callback is configured in the MTS Communicator personal account — specify the URL of the handler on your server. MTS sends POST with message_id and status on each change.

Additionally, we implement polling via the MTS API status check method — a request by message_id every 60 seconds for messages that have not received a callback within 5 minutes. This serves as a safety net against callback loss due to network issues. Our solution ensures 98% delivery rate and processes up to 30 SMS per second.

Detailed handler scheme

The handler is registered as a webhook in B24. On each sending, it normalizes the number, sends a request to MTS, saves the ID mapping. Upon receiving a callback, it updates the status in the CRM. If a callback is not received, polling every 60 seconds requests the status from MTS and updates it.

Why It’s Important to Set Up Automation via CRM Robots?

Typical scenarios for the Belarusian market:

Sales funnel:

  • New lead → SMS "{NAME}, your request has been accepted. A manager will contact you within 15 minutes."
  • Deal at the "Invoice issued" stage → SMS with a payment link via ERIP
  • Deal closed → SMS with thanks and a link to a review

Service:

  • Smart process "Appointment" → reminder the day before the visit
  • Missed call → automatic SMS "We noticed your call"

Robot texts use CRM fields: #CONTACT_NAME#, #DEAL_TITLE#, #DEAL_OPPORTUNITY#, custom fields #DEAL_UF_XXX#.

Transactional and Marketing SMS

Parameter Transactional Marketing
Initiator Customer action Mass mailing to a list
Consent Upon order/request placement Mandatory opt-in per Belarusian legislation
Sender ID Company name Can be a different name
Setup in B24 CRM robots / business processes CRM marketing section
MTS requirements Contract for SMS service Contract + confirmation of consents

MTS Belarus may request proof of subscriber consent for marketing mailings. In B24, consent is recorded in a contact custom field (UF_CRM_SMS_CONSENT), and the robot checks the value before sending.

Number Normalization

The handler normalizes all numbers from the B24 database to +375XXXXXXXXX:

  • 80291234567+375291234567
  • 375 29 123-45-67+375291234567
  • 29 1234567+375291234567
  • Numbers not matching the Belarusian format are marked as invalid

Before mass sending, it is recommended to run the database through normalization and remove invalid entries.

Implementation Timeline

Scope What’s included Timeline Estimated Investment
Basic Connecting MTS SMS, manual sending from card, one robot 3–5 days $500+
Standard 3–5 robots, status callback, number normalization, Sender ID 1–1.5 weeks $1,200+
Extended CRM marketing, polling, consent checks, analytics, rate limiting 2 weeks $2,500+

What’s Included in the Result

  • Registration of MTS SMS as a provider via messageservice.sender.add
  • Development and deployment of the handler for B24 → MTS SMS API requests
  • Assistance with registering a Sender ID with MTS Belarus
  • Normalization of Belarusian numbers
  • Setup of a callback handler for delivery statuses (DLR)
  • Implementation of polling as a backup status tracking mechanism
  • Creation of CRM robots for transactional SMS by funnel stages
  • Configuration of mass mailings via CRM marketing with consent checks
  • Development of SMS templates with CRM field substitution
  • Testing: manual sending, robots, callback, mass mailing to a test segment
  • Delivery of operational documentation, access to handler logs, and one hour of post-launch support
  • Training session for managers (up to 1 hour)

Contact us for a detailed discussion of your scenario. Get a consultation — we’ll calculate the exact scope and timeline for your scenario. Saving time and increasing conversion — the result of integration.

How a corporate portal on Bitrix24 solves the problem of information chaos?

Employees spend up to 2 hours a day searching for files, emails, and solutions. Tasks get lost in dozens of chats, approvals get stuck for weeks. The manager learns about missed deadlines only at a meeting. A corporate portal on Bitrix24 ties every message, document, and task to a single context. You get a transparent picture of work: who is working on what, which stages, where bottlenecks are. Wikipedia: Information silo describes how unorganized data reduces productivity – a portal cuts that loss by 60–70%.

We will evaluate your project for free – contact us to get the architecture in 2 days. A medium‑sized company typically saves 2.5 million rubles annually after deployment (based on our projects).

What does the portal offer in daily work and why is it better than messengers?

In messengers, information is unstructured – discussions get buried within a week. On the portal, every message is tied to a task, project, or document. Employees spend up to 30% of their work time searching for data (McKinsey). The portal reduces this time by 2–3 times thanks to structured repositories and full‑text search.

Communications. Activity stream, messenger, and video calls are tied to specific tasks. Any discussion can be found six months later – in a messenger it would be buried within a week.

Tasks and projects. Kanban, Gantt, checklists, dependencies, time tracking. Each employee's efficiency is visible in reports – no need to wait for a meeting.

Document flow. Approval routes through the business process designer: leave request → manager → HR → accounting. Electronic signature, versioning, deadline control. Integration with electronic document management (SBIS, Diadoc) via REST API.

HR. Onboarding of new employees, leave/travel requests, organizational structure, absence schedule. An employee knows where to go from day one.

Knowledge base. Bitrix24 wiki engine: regulations, instructions. Knowledge does not leave with departing employees.

Implementation example. For a manufacturing company with 320 employees, we deployed a portal with integration of 1C:SALARY AND HR MANAGEMENT and Active Directory in 4 months. Travel request approval time decreased from 3 days to 4 hours. Savings on employee idle time amounted to 1.5 million rubles per year. Managers receive automatic reports on department efficiency. Customer response time decreased by 20%. Portal payback period is 7 months.

How does integration with 1C and Active Directory accelerate HR management?

Integration with 1C:Enterprise via the b24connector module or custom REST handler: a leave request is approved on the portal through a business process and automatically enters 1C:SALARY AND HR MANAGEMENT for vacation pay calculation. Active Directory (SSO via the ldap module) – the employee account is created once in AD and synchronized to the portal, email, VPN. Upon dismissal, it is blocked everywhere. Manual account creation is eliminated, errors are minimized.

Types of corporate portals and key integrations

Type Purpose Key Feature
Intranet Internal communications and services News, phone directory (sync with AD), meeting room booking, IT requests via BP
HR portal HR management and development Profiles, KPI/OKR on custom HL blocks, training, electronic document flow
Knowledge portal Documentation and regulations Categorization, tags, ratings, subscriptions to updates
Extranet Work with partners and contractors Granular permissions via CGroup and extranet module, access without VPN
Holding portal Management of multi‑company structure Separate workspaces, consolidated reporting, cross‑cutting BPs

Additional integrations that deliver real value:

  • Email: Exchange via EWS API or IMAP, calendar synchronization, creating a task from an email.
  • IP telephony: Asterisk, Mango Office, Zadarma via REST API – calls from the portal, contact card, call recording.
  • Video conferencing: built‑in video calls or integration with Zoom/Teams via marketplace.
  • EDI: SBIS, Diadoc via REST API – fully electronic document flow with counterparties.

Security and compliance with Federal Law 152‑FZ

The portal contains personal data, financial reports, strategic plans. We guarantee protection:

  • role model via CGroup and section‑level permissions;
  • two‑factor authentication (OTP, Yandex.Key, SMS);
  • audit of all actions (b_event_log);
  • TLS encryption for transmission and disk encryption;
  • full compliance with Federal Law No. 152‑FZ "On Personal Data".

How is implementation carried out? Step‑by‑step plan

Stage Duration What we do
1. Audit 2–3 weeks Interviews, process analysis, architecture, integration plan
2. Setup and customization 3–6 weeks Structure, roles, BPs, branding (CSS template)
3. Integrations 2–4 weeks 1C, AD, email, telephony, EDI
4. Data migration 1–2 weeks Documents, directories, employees from current systems
5. Training and pilot 1–2 weeks Administrators, key users, pilot of 20–30 people
6. Scaling 2–4 weeks Connecting departments, fine‑tuning based on feedback
  1. Audit — we record current processes, measure time losses.
  2. Design — choose portal type, plan integrations.
  3. Implementation — configure business processes, permissions, interface.
  4. Test — pilot group tests scenarios, we fix issues.
  5. Launch — connect all employees, train, hand over documentation.

What you receive after implementation

  • Project documentation: architecture, integration scheme, business process diagrams.
  • Configured portal with all integrations (1C, AD, telephony, EDI).
  • Business process descriptions and instructions for administrators and users.
  • 30 days of technical support after launch.
  • Access to our knowledge base and migration scripts.

Post‑launch support: how to prevent the portal from becoming obsolete

After six months, many portals become abandoned. To avoid this, we offer packages with fixed SLA and a dedicated administrator. Performance monitoring, platform updates, user administration, development of new modules. Our team has over 10 years of experience and more than 50 implemented corporate portals on Bitrix24. We are a certified 1C‑Bitrix partner, guaranteeing quality and deadlines.

Mobile access. Native Bitrix24 app (iOS/Android) with push notifications, tasks, chats. Responsive web interface for extranet users (no app installation required). Offline access to documents and tasks, sync when connectivity is restored.

Order a turnkey corporate portal implementation

Schedule a free audit – we will evaluate your project, propose architecture, and give clear timelines. Get a comprehensive proposal and see that the portal pays for itself within the first six months. Contact us today.