Skip to main content
Ctrl+K
Logo image
  • Что нового

Личный кабинет v.1

  • Рассылки
    • SMS- и Viber-рассылки
    • IVR-рассылки
  • Тарифная информация
  • Статистические отчеты

Интеграции

  • REST API
    • Подключение сервиса
    • Структура запроса
    • SMS
    • Viber
    • Telegram
      • Рассылка Telegram-сообщений
      • Коды авторизации Telegram Gateway
    • Push
    • VK
    • WhatsApp
    • FlashingCall (VoiceCode)
    • CardsMobile
    • Каскадная рассылка
    • MO-сообщения
    • Сервис получения статусов доставки сообщений
    • Сервис сокращения ссылок
  • REST_BATCH API
    • Подключение сервиса
    • Структура запроса
    • Запрос на отправку SMS
    • Сервис получения статусов доставки
  • HTTP API
    • Подключение сервиса
    • Структура запроса
    • SMS
    • Viber
    • WhatsApp
    • VK
    • Push
    • FlashingCall (Voice Code)
    • Коды авторизации Telegram Gateway
    • Каскадные сообщения
    • MO-сообщения
    • Сервис получения статусов доставки
    • Сервис сокращения ссылок
  • FTP API
    • Подключение сервиса
    • Взаимодействие с платформой
    • Общие требования к файлам
    • SMS-рассылка без идентификаторов
    • SMS-рассылка с идентификаторами
    • Чёрный список
    • Отчет о выполненных операциях
    • Отчет о доставке
  • SMPP API
    • Подключение сервиса
    • Структура запроса
    • SMS
    • Viber
    • VK
    • Push
    • FlashingCall (VoiceCode)
    • Коды авторизации Telegram Gateway
    • Каскадная рассылка
    • MO-сообщения
    • Сервис получения статусов доставки
    • Сервис сокращения ссылок
  • HLR API
    • Подключение сервиса
    • HLR-запрос
  • IVR
    • IVR FTP API
      • Подключение сервиса
      • Взаимодействие с платформой
      • Общие требования к подготовке файлов
      • Рассылка без идентификаторов
      • Рассылка с идентификаторами
      • Отчет о выполненных операциях
      • Отчет о выполненных звонках
    • IVR HTTP API
      • Подключение сервиса
      • Запрос на отправку голосовых сообщений
      • Получение данных о выполнении звонка
      • Сервис получения статусов доставки
  • APIs in English
    • REST API
      • Setup
      • Request Structure
      • SMS
      • Viber
      • Telegram
      • Push
      • VK
      • WhatsApp
      • FlashingCall (VoiceCode)
      • CardsMobile
      • Cascading Message Sending
      • Mobile Originated Messages
      • Delivery Status Service
      • Link Shortening Service
    • HTTP API
      • Setup
      • Request Structure
      • SMS
      • Viber
      • WhatsApp
      • VK
      • Push
      • FlashingCall (Voice Code)
      • Cascading Message Sending
      • Mobile Originated Messages
      • Delivery Status Service
      • Link Shortening Service
    • FTP API
      • Setup
      • Interaction with the Platform
      • General Requirements for Files
      • SMS Sending with no IDs
      • SMS Sending with IDs
      • Blacklist
      • Report on Completed Actions
      • Delivery Report
    • Contacts

Push-сервис

  • Сервис Rapporto Push Notification System
  • SDK Rapporto

&euro

  • Глоссарий
  • Контакты

Link Shortening Service

На этой странице

  • Description
    • Service Operation
  • Service Setup
  • Shortening Links when Sending Cascading Messages

Link Shortening Service#

Description#

The functionality of the service:

  • replacing long links in the message text with short ones;

  • link matching storage;

  • redirecting from a short link to a long one;

  • collecting traffic statistics.

This service is provided by the Service Provider upon request from the Partner (see Service Setup).
After the Service Provider has configured the Service, all received links in the message text will be shortened by default in accordance with the specified settings.
If necessary, this setting can also be controlled using the optional shortenLinks parameter, which can be sent in the request.
If the service is configured and the parameter is not sent, the link will be shortened by default. The same applies to links passed in cascading messages.
The link is shortened using the domain http://kr4.me.

Links are shortened for the following types of messages:

  • SMS (see Parameters);

  • Viber (see Parameters);

  • Push (see Request Parameters);

  • VK (see Request Parameters);

  • WhatsApp (see Request Parameters).

Service Operation#

  1. When a long link is detected in the message, a new link is formed - the domain http://kr4.me/ is inserted at the beginning of the new link and a unique UID is added, which length can be from 3 to 8 characters. An example of a link after an abbreviation: http://kr4.me/EQiCREB.

  2. After the messages are delivered, when subscribers click on a short link, the link shortening service will identify the corresponding long link and redirect.

  3. Clicks on each link will be recorded in the Platform statistics.

Service Setup#

To enable the Service, the following data must be provided to the Technical Support:

  • amount of characters after which the link must be shortened. For example, if the link is shortened by more than 26 characters, then the link https://rapporto.ru/ will be transmitted to the subscriber unchanged, and the link https://rapporto.ru/company/o_platforme_rapporto/ will be shortened, for example http://kr4.me/QEiCRE/;

  • amount of characters in the UID that is added after the domain. This parameter affects the number of unique links that can be generated. For example, with a length of UID = 8 characters, about 281 trillion unique links can be generated;

  • to clarify the necessity for forming of unique links for each subscriber. This parameter affects the traffic statistics. In the case of a single link, the total traffic statistics for all subscribers will be shown;

  • the number of days after which an inactive link is removed if there have been no clicks on it;

  • the number of days after which an inactive link is removed, even if there have been clicks on it (link lifetime ).

Shortening Links when Sending Cascading Messages#

If Cascading Message Sending are configured for the REST client, then the same requirements are met for the sent messages as for single ones:

  • when the Service is enabled, links are shortened automatically for all cascading messages;

  • the shortenLinks parameter is used to control link shortening for messages. If the parameter is not passed, the links in the message are shortened;

  • the shortenLinks parameter must be specified in the message block for each cascading message.

назад

Delivery Status Service

вперёд

HTTP API

On this page
  • Description
    • Service Operation
  • Service Setup
  • Shortening Links when Sending Cascading Messages

© Copyright 2025, Rapporto.