The BBN SMS Gateway PHP SDK is built to make HTTP API Integration simpler for PHP Developers. Whilst working on sample code for developers using other JAVA and Visual Basic, if you are a web developer using any programming language other than PHP please refer to the HTTP API Integration Guide for full documentation.
To get started with the BBN SMS Gateway PHP SDK for HTTP API Integration
If you have an appid for the app you are integrating, instantiate an object using the sample code below. Set callback value to 1 if you wish to have delivery report for the the broadcast forwarded to your web app.
If you do not have an appid ignore then $config array and proceed to create your object as follows:
Since you did not provide any messageid, if the you have set Require DLR to 1 in app settings, gateway will return messageid for each recipient.
Multiple message ids should be seperated with commas. The number of message ids should be equal to the number or recipients.
You can optionally include your own messageid follow same rule above
** The current version does not support delivery reporting for scheduled message.
** Delivery report is not available for apps that do not have a system generated appid.
For integration support, send an email to firstname.lastname@example.org