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

Request to download statistics

To download statistics, make a request to this URL:

GET https://api.bsg.world/rest/stat/create

Request body

1. One of the following mandatory parameters is passed:

  • message_id – set to “message_id”. If this value is set, all subsequent fields are ignored, even if data is specified there. Array. 300 values in an array maximum. If an empty array is specified, or if there is a parameter, but the key is not an array, then the parameter is ignored.

OR a time span:

  • time_in_from — date and time when messages were received on the platform.
  • time_in_to — date and time when messages were received on the platform.

2. Optional parameters are passed:

Parameter Type Description
msisdn An array of values to specify numbers. If an empty array is specified, or if there is a parameter, but the key is not an array, then the parameter is ignored.
originator string Sender name.
source_type string The message source from where the message came to the platform. Can take one of the following values: api, web, smpp, xml, http, json.
message_type string Message type. Can take the following values: sms, hlr, viber.
time_sent_from Time of sending messages from the platform “from”.
time_sent_to The time when messages were sent from the platform “until”.
country_name string The name of the country to search.
operator_id Indication of the country operator, if the Country_name field is present. If an operator without a country is specified, it is ignored
status string The status of the messages to display. Can take the following values: Delivered, Rejected, Scheduled, Moderation, Accepted, Sending, Sent, Expired, Failed, Undelivered, Unknown, Read, not-viber-user.
sl_clicks It is necessary to consider the number of clicks or not. The field is available only to clients who have connected short links.
sl_clicks_comp Comparison operator with the number of clicks value. Can take values: “<”, “>”, “=”. The field is available only to clients who have connected short links.
sl_clicks_count The value to compare. The upper character limit is 999999. The field is available only to clients who have connected short links.

if the request is successful, you will receive a response:


{
   "error":0,
   "key": {}
}

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