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

Get contacts from the Stoplist

The method allows getting a list of contacts that were added to the SMS and/or Viber stop list.

To get contacts from the Stoplist, make request to this URL:

GET http://one-api.bsg.world/api/stoplist

Request parameters:

Parameter Required Type Description
page[limit] No integer The number of entries in the response. The value range for the parameter: min – 15, max – 500. The default is 30.
page[offset] No integer Get stop list contacts starting from the offset. The default is 0.
types No string Specify the type of the stop list for which we need to return the contact list. Possible values: sms, viber.If the stop list type is not specified, the method will return data for both stop list types

Response parameters:

Parameter Type Description
id integer ID of the contact added to the stop list
phone string Contact’s phone number
created_at datetime Date of adding the contact to the stop list
sms_stoplist boolean Whether the contact was added to the SMS stop list. Possible values: true or false
viber_stoplist boolean Whether the contact was added to the Viber stop list. Possible values: true or false
total string The total number of contacts in the stop list

If request is successful, you will receive a response:


{
  "data": [
    {
      "id": 9392897,
      "phone": 85267202829,
      "created_at": "2022-04-18 19:22:16",
      "sms_stoplist": true,
      "viber_stoplist": false
    }
  ],
  "total": 1
}

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