For the best experience turn off the battery saving mode.

Welcome to the
BSG Developer Docs.

Whether you're looking to use our REST APIs, receive
notifications with webhooks, or build an app for the
Intercom Messenger, you've come to the right place.

Definition

POST http://app.bsg.hk/xml

Required parameters

Parameter
Description
login value

username

password value

SMPP/API-password

type

"sms"

phone

The telephone number you want to do a network query on. Required

client_id_sms

Client Reference ID

number_sms

The serial number of the subscriber in an XML document. Required

Example request

<? xml version = “1.0” encoding = “utf-8”?> <request>
<message type = “sms”>
<sender>sender</sender>
<text>sms text</text>
<abonent phone = “380631231233” client_id_sms = “3431” number_sms = “1”/>
<abonent phone = “380633213211” client_id_sms = “3425” number_sms = “2”/>
</message>
<security>
<login value = “login”/>
<password value = “password”/>
</security>
</request>

Returns

Returns an XML document with a message ID if the request was successful. If the request failed, an error will be returned.

Parameter
Description
number_sms

The serial number of the subscriber in an XML document.

id_sms

Message ID

id_turn

SMS delivery turn ID. This parameter is needed for compatibility.

parts

The number of parts the text message is made of.

information

SMS status («send»), if the text message has been sent.

Example response

<?xml version = “1.0” encoding = “utf-8”?> <response>
<information number_sms = “1” id_sms = “366” id_turn = “1428476741” parts = “1”> send</information>
<information number_sms = “2” id_sms = “367” id_turn = “1428476741” parts = “1”> send </information>
</response>

Rate this post