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

Authentication

API version 1.0

All queries to the BSG API must be authenticated using a personal API key ― either Test or Live. Each request includes an X-API-KEY header containing your API key. The Test API key has the prefix test_; the Live API key has the prefix live_. The Test API key is intended for debugging the system, all requests using the test key return random information.

You can view and manage your API keys on the “SMPP/API Password” tab of the Integrations & API section in your personal account.

Your personal API key must be specified in the HTTP X-API-KEY header of any request.

API version 2.0

The authorization process is possible upon the availability of a token, using which each subsequent query to the API should be signed.

Token is passed in the header of any request, except when the token itself is received, when this code is not required:


"Authorization": "Bearer: {token}"

To receive a token, you need to send a request:

POST http://one-api.bsg.world/api/auth/login

Request Parameters

Parameter Required Type Description
api_key Yes string Personal API key.

Request sample


{
  "api_key": "live_qlTEagQz1StNSbjlXM8k"
}

Response Parameters

Parameter Type Description
bearer string Token for authorization of API queries.

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


{
  "bearer": "string"
}

To update the JWT token, you need to send a request:

POST http://one-api.bsg.world/api/auth/refresh

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


{
  "bearer": "string"
}

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