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/def

Required parameters

Parameter
Description
login value

username

password value

SMPP/API-password

phone

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

Example request

<?xml version = „1.0“ encoding = „utf-8“?> <request>
<security>
<login value = „username“/>
<password value = „password“/>
</ security>
<phones>
<phone>79612242243</phone>
<phone>79612242244</phone>
</phones>
</request>

Returns

Returns an XML document with MSISDN info if the request was successful. If the request failed, an error will be returned.

Parameter
Description
operator

operator brand

country

country abreviature

phone

The telephone number

Example response

<?xml version = „1.0“ encoding = „utf-8“?> <response>
<phone operator = „beeline“ country = „ru“>79612242243</phone>
<phone operator = „beeline“ country = „ru“>79612242244</phone>
</response>

Rate this post