BSG utilizes HTTP cookies (and similar or complementary technologies) to 1) make this website safe, functional, and accessible (through the use of mandatory cookies) and 2) understand how you use our website (through the use of optional cookies) in order to improve your experience and to provide you with personalized content.

The information in the cookie text files may be related to your personal preferences or your device and is intended to make the site operate according to your expectations. The information contained in cookies does not usually identify your identity directly but is helpful in providing you with a more personalized user experience.

In accordance with the requirements of the General Data Protection Regulation (GDPR) privacy and security law that governs how the personal data of individuals in the EU may be processed and transferred, we provide you the possibility to prohibit the use of certain types of cookies when you use our website.

Read our Cookie Notice and the Privacy Policy for detailed information on how BGS collects and uses cookies. Please note that prohibiting the use of certain types of cookies may affect your interaction with the website and limit the accessibility of services we offer you. Choose the appropriate category below to learn more and to disable cookies.

Accept All cookies*
*Recommended for comfortable use of the site
Accept only necessary cookies
Accept only selected cookies
Necessary cookies
Social media
Analytics
Marketing
Developer Docs
Number Intelligence

General rules for the RCS API

API work is performed using JSON objects and http requests, as well as the REST architecture.

Authentication

The client authorization process is carried out according to https://bsg.world/developers/rest-api/authentication for API version 2.0.

Base URL

The API is available at: https://one-api.bsg.world

General rules for sending messages

  1. Successful sending of an RCS message is possible only under certain conditions:
    • RCS agent is registered for the client and is in active status;
    • Recipient’s phone number:
      • supports the ability to receive RCS notifications;
      • is not in the RCS stop list (if the stop list check was enabled in the request to send the message).
  2. In API requests to send RCS messages, the list of recipients’ phone numbers must be unique (no duplicates).
  3. The maximum allowed number of contacts in one campaign is 5000.
  4. If the created campaign contains messages to subscribers from countries that do not match the RCS agent, such messages will not be sent. You will be able to view the campaign statistics and details of its messages after sending.

Sending RCS messages in the TEST Mode Account

  1. In the test mode of the account, the client can send RCS messages on behalf of the test BSG agent (permission to use it must be agreed with the manager in advance).
  2. Withdrawals for sending RCS messages on behalf of the test agent are made from the client’s credit/own funds on the balance sheet.
  3. Sending an RCS message in test mode is allowed only to a verified contact (the recipient’s phone number that has been confirmed by the client via a code).

Billing of RCS messages

  1. The RCS message is charged at the expense of the client’s principal balance and credit limit.
  2. Billing is performed only for RCS messages with the status Delivered.
  3. The cost of an RCS message in the customer’s tariff depends on the direction of delivery;
  4. RCS message type (text, single card/carousel).
  5. If you use an alternative SMS channel, the message is charged at the price of an SMS message according to the connected tariff on your account.
  6. If the client’s balance runs out of funds while sending messages, the created campaign is paused (the campaign is assigned the “Paused” status). After replenishing the balance, to continue sending messages, you need to resume the campaign yourself.

Webhook

By configuring the URL for the webhook in your bsg.world account on the Integration and API page, in the Callback URL For RCS field, you can receive reports with the status of RCS messages sent.

The message status report includes the following information:

Parameter Type Description
id integer message id.
msisdn string The phone number to which the message was sent.
reference string External message identifier (reference) specified by the user.
status string The status of the message. For more details, see paragraph. RCS message statuses.
time_in string Date and time of message creation in the format: yyyy-mm-dd hh:mm:ss.
time_sent string Date and time of sending the message in the format: yyyy-mm-dd hh:mm:ss
time_dr string Date and time of receipt of the delivery report in the format: yyyy-mm-dd hh:mm:ss
price string The cost of the message should be displayed with 7 decimal places
currency string The currency of the client’s account in which the cost is indicated.

An example of a notification of the status of an RCS message:


{
   "error":0,
   "errorDescription":"No errors",
   "id":"3266500452",
   "msisdn":"380997087351",
   "reference":"hello",
   "time_in":"2024-08-22 11:47:42",
   "time_sent":"2024-08-22 11:47:42",
   "time_dr":"2024-08-22 11:47:53",
   "status":"delivered",
   "price":"1.1000000",
   "currency":"EUR"
}

RCS Message Statuses

Status Description.
1 SCHEDULED The message is scheduled.
2 MODERATION The message is being moderated.
3 SENT The RCS message is sent to the recipient.
4 DELIVERED RCS message is delivered to the recipient.
5 SENDING Messages are in the queue for sending.
6 ACCEPTED Message accepted for sending.
7 EXPIRED The RCS message has expired.
8 UNDELIVERED The message was not delivered.
9 READ The RCS message has been read by the recipient.
10 UNKNOWN There is no delivery status.
11 FAILED An error that occurred during the sending process.

Interested in a special offer?

Ready to reach further?
Let’s talk

I agree to BSG privacy policy
Submit

Useful Materials

What Is Number Verifier — And Why It’s More Than Just an “HLR Lookup”

30% of SMS fail — not because of content, but numbers. Verify before you send.

10 Awesome Back-to-School Marketing Ideas 2025

The start of the school year: when parents trade in their summer margaritas for the

What Is CPaaS? Communications Platform as a Service

Talking to customers these days is more than just emails or phone calls. Businesses need