Bulk SMS API Nigeria

 

 

Bulk SMS API – Nigeria and West Africa

Our Bulk SMS API allows you to integrate your BetaSMS Bulk SMS account with your application or website. It is simple and direct to use. Integrate Bulk SMS API and start sending SMS to your clients and subscribers.

Please follow one of the methods listed below to use our API​, also note that you need to have an account with us to be able to make API calls​.

Method 1:
You can simply replace the query string parameter values in the link below with your credentials and follow the link in your browser to send SMS

[sourcecode language=”plain”]http://login.betasms.com/api/?username=yourEmail@yahoo.com&password=yourBetaSMSPassword&message=yourMessage&sender=demo&mobiles=number1,number2,etc[/sourcecode]

Method 2:
You can use PHP to communicate with our API like this;

Step 1: create a blank PHP file and save it as betasms_api.php

Step 2: copy and paste the code below into the file and save

Step 3: create a blank HTML file and save it as index.html

Step 4: paste the code below into the blank file and save

Step 5: put the two files in one folder and host it on your server

Step 6: navigate to the folder from a browser and point to the index.html file for example, http://www.example.com/folderName/index.html

Step 7: use the form in the page to send SMS

SUCCESS​ ​=​ ​1701

INVALID​ ​URL​ OR RECIPIENTS TOO LONG (MAX: 500​ MOBILE NUMBERS PER QUERY​) ​=​ ​1705

INVALID​ ​USER​NAME OR ​PASSWORD =​ ​1702

INSUFFICIENT​ ​CREDIT = 1025 OR 1704

​INTERNAL SERVER ERROR = 1706​

Note that this method is the best approach as it is flexible, you can communicate with our API using ajax calls or simple html form post and get requests. ​​The following are possible ​response​ code​s​ from the server