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

BSG migrated to the new DevPortal
to ship the latest One API versions faster

Use it for up-to-date endpoints, guides, and changelogs

Go to the new DevPortal
Developer Docs
Number Intelligence

Get a list of SMS campaigns

The method for getting a list of created campaigns.

The maximum period for which you can sample the campaigns is 3 months.

Request URL

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

Request parameters

Parameter Required Type Default Description
filter[type] No string sms Filter by campaign type, sms
filter[from] No string filter[to] -3 month Date and time of the sampling beginning. Format ISO 8601: yyyy-mm-dd hh:mm:ss
filter[to] No string now Date and time of the sampling end. Format ISO 8601: yyyy-mm-dd hh:mm:ss
It is possible to specify a future date: the valid value is 30 days ahead of the current date.
page[offset] No int 0 Get messages starting from offset
page[limit] No int 50 Number of campaigns in response
sort No string id Sort by id, sender, type
way No string asc Sorting options: asc, desc

Response parameters

Parameter Type Description
id integer Campaign ID created using:
  • POST /api/campaigns/sms/send

  • POST /api/campaigns/sms/send-groups

  • POST /api/campaigns/sms/send- individual
name string Campaign name
sender string SMS Sender name
status string Campaign current status. Possible values:
  • creation – created

  • spam – campaign did not pass moderation

  • scheduled – campaign is scheduled

  • sending – campaign began to be sent

  • paused – campaign is paused

  • stopped – campaign is stopped

  • done – campaign is completed
message_type string Campaign type: sms
start_at string Campaign start date. Format ISO 8601: yyyy-mm-dd hh:mm:ss
real_start_at string Actual campaign start date and time. Format ISO 8601: yyyy-mm-dd hh:mm:ss
finished_at string Campaign completion date. Format ISO 8601: yyyy-mm-dd hh:mm:ss
created_at string Date and time when the campaign was created. Format ISO 8601: yyyy-mm-dd hh:mm:ss
statistics object Campaign messages statistics:
delivered integer Total number of messages delivered to recipients within the campaign
sent integer Total number of messages sent to recipients within the campaign

Response sample

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


{
  "data": [
    {
      "id": 1,
      "name": "string",
      "sender": "string",
      "status": "creation",
      "message_type": "sms",
      "start_at": "2021-04-27 19:44:06",
      "real_start_at": "2021-04-27 19:44:06",
      "finished_at": "2021-04-27 19:44:06",
      "created_at": "2021-04-27 19:44:06",
      "statistics": {
        "delivered": 0,
        "sent": 0
      }
    }
  ],
  "meta": {
    "page": {
      "total": 1,
      "limit": 30,
      "offset": 0
    }
  }
}

Interested in a special offer?

Ready to reach further?
Let’s talk

I agree to BSG privacy policy
Submit

Useful Materials

WhatsApp Business API: Complete Guide — Setup, Pricing, Use Cases [2026]

WhatsApp Business API for 2026 — setup steps, the new per-message pricing model, and proven use cases by industry.

What Is CPaaS? The Complete Business Guide to Communications Platform as a Service

What is CPaaS? The cloud API layer that adds SMS, WhatsApp, voice & OTP to your apps — how it works and why it beats a multi-vendor stack.

One Communication API for SMS, WhatsApp, Viber & RCS — Why It Beats Five

Why one communication API for SMS, WhatsApp, Viber & RCS beats five separate integrations — cascade fallback, unified reports.