Developer Docs

Table of contents


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:


Request Parameters

api_keyYesstringPersonal API key.

Request sample

  "api_key": "live_qlTEagQz1StNSbjlXM8k"

Response Parameters

bearerstringToken for authorization of API queries.

In case of a successful request you will receive the following response:

  "bearer": "string"

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


Response sample:

  "bearer": "string"

We use cookies (and other similar technologies) to collect data to improve your experience on our site. By using our website, you’re agreeing to the collection of data as described in our Website Data Collection Policy.