Cookie Processing

Our website uses cookies to make it as convenient as possible for you. By clicking “Accept”, you agree to our use of cookies. You can also review detailed information about the types of cookies we use and apply your individual preferences by clicking “Customize”. You can read our Cookie Policy at the following link

Cookie Settings

You can customize your preferred cookies, except for those that are strictly necessary. Disabling certain cookies may affect the functionality of the website.

Technical Cookies

These cookies are essential for the smooth and reliable operation of the website. Disabling this type of cookie may limit access to certain features of the site. Stored for no more than 1 year.

Functional Cookies

These cookies allow for a personalized browsing experience and are set in response to user actions. They are stored on your device for a specific period of time and are responsible for remembering user preferences set in the browser. Stored for no more than 1 year.

Statistical Cookies

These cookies help store information about website visits in order to improve its performance — for example, to determine which pages are most and least popular, how many visitors the site has, and how much time they spend on it. Stored for no more than 1 year.

Invite to Tender
If you want to contact the company's representatives directly, email sms@sms.bycall the number +375 29 895 55 57 or fill out the feedback form, and our manager will contact you

By clicking the button, you consent to the processing of your personal data according to the Privacy Policy

Title
Lorem input
logo
+375 29 103 07 48
Ru Eng
  • Products

    Email Email
    Viber Viber
    SMS SMS
    Telegram Telegram chat bot
    VK VK
    Instagram Instagram
    S-chat S-chat
  • Pricing

  • Integrations

  • Invite to Tender

  • API

  • Blog

  • About the Company

    About us
    Contacts
    Documents
Login Register
+375 29 103 07 48
Ru Eng

ShortLink

v2.5.0
Base URL https://app.sms.by/

Sections

  • Authorization
  • Mailing lists
  • Email
  • SMS Messages
  • Viber Messages
  • FlashCall
  • ShortLink
    • POST Creating a shortened link
    • GET Get all newsletters shortened links
    • GET Get shortened link by ID
  • Templates
  • Alpha-name SMS
  • Alpha-name Viber
  • Implementation of 2-factor authentication
  • Accounts
  • Details
  • Financial statistics
  • Settings

ShortLink

Methods

POST Creating a shortened link —
GET Get all newsletters shortened links —
GET Get shortened link by ID —
POST /api/v1/createShortLink Creating a shortened link
Request URL
POST https://app.sms.by/api/v1/createShortLink

Parameters

Parameter Location Type Required Description
token formData string Yes Your API key
link formData string Yes Please enter the link you want to shorten
name formData string No Please provide a link title

Responses

200 — Completed successfully

{
    "status": "success",
    "data": {
        "name": "Yandex",
        "link": "https:\/\/www.yandex.by\/search\/?clid=2186621&text=a&rdrnd=629580&lr=155&redircnt=1621869494.1",
        "short_link": "https:\/\/sms.by?EKrELas",
        "updated_at": "2021-05-25 09:08:04",
        "created_at": "2021-05-25 09:08:04"
    }
}

400 — Incorrect request

421 — Data not verified

500 — Server is not available

GET /api/v1/getShortLinks Get all newsletters shortened links
Request URL
GET https://app.sms.by/api/v1/getShortLinks

Parameters

Parameter Location Type Required Description
token query string Yes Your API key

Responses

200 — Completed successfully

{
    "status": "success",
    "data": [
        {
            "id": 14,
            "name": "Yandex",
            "link": "https:\/\/www.yandex.by\/search\/?clid=2186621&text=a&rdrnd=629580&lr=155&redircnt=1621869494.1",
            "short_link": "https:\/\/sms.by?EKrELas",
            "created_at": "2021-05-25 09:08:04"
        }
    ]
}

406 — Content not found

404 — Page not found

429 — Request limit exceeded

500 — Server is not available

GET /api/v1/getShortLink Get shortened link by ID
Request URL
GET https://app.sms.by/api/v1/getShortLink

Parameters

Parameter Location Type Required Description
token query string Yes Your API key
id query string Yes Shortened Link ID

Responses

200 — Completed successfully

{
    "status": "success",
    "data": [
        {
            "id": 14,
            "name": "Yandex",
            "link": "https:\/\/www.yandex.by\/search\/?clid=2186621&text=asdasd&rdrnd=629580&lr=155&redircnt=1621869494.1",
            "short_link": "https:\/\/sms.by?EKrELas",
            "created_at": "2021-05-25 09:08:04"
        }
    ]
}

406 — Content not found

404 — Page not found

429 — Request limit exceeded

500 — Server is not available

API documentation SMS.BY — mass messaging service for business

  • For Business
  • Email
  • SMS
  • Viber
  • VKontakte
  • Instagram
  • Telegram chat bot
Integrations
  • MoySklad
  • WordPress
  • 1C-Bitrix
  • Yclients
  • Bitrix24
  • AmoCRM
  • SalesRender
  • Planfix
  • Vetmanager
  • Opencart
  • Terms
  • Offer agreement
  • Return policy
  • Privacy policy
  • Anti-spam policy
  • Cookies
  • For Developers
  • Ready Code on Java
  • Ready Code on PHP
  • Ready Code on Python
  • About the Company
  • Contacts
  • Our Blog
  • Partnership
  • sms@sms.by
  • +375 29 103 07 48
  • Technical support
  • support@sms.by
  • +375 29 895 55 57

We are on Social Media

instagram vk facebook youtube

© 2016 —

ООО «СМС Бай», УНП 192285765