Cheapest Bulk SMS provider SMS API. Best Bulk SMS Kenya Cheapest Bulk SMS provider SMS API. Best Bulk SMS Kenya
  • Home
  • Products
    • Shortcodes
    • 2 way SMS
    • Bulk SMS
    • USSD
    • Alphanumeric Sender ID
    • Free SMS API
    • Bulk Sms WordPress Plugin
  • Solutions
    • Alerts and Notification
    • Bulk SMS Appointment Reminders
    • Bulk SMS Competitions
    • Billing and Payments
    • Branded bulk sms
    • WhatsApp Marketing
    • Bulk sms Software
    • Personalized Bulk SMS
    • Phone Verification
    • Email Marketing Service
    • MPESA API Integration
  • Industries
    • Churches
    • Schools
    • Saccos
    • Banks
    • Businesses
    • Real Estate
  • Pricing
  • API
  • Log In
  • Resellers
  • Home
  • Products
    • Shortcodes
    • 2 way SMS
    • Bulk SMS
    • USSD
    • Alphanumeric Sender ID
    • Free SMS API
    • Bulk Sms WordPress Plugin
  • Solutions
    • Alerts and Notification
    • Bulk SMS Appointment Reminders
    • Bulk SMS Competitions
    • Billing and Payments
    • Branded bulk sms
    • WhatsApp Marketing
    • Bulk sms Software
    • Personalized Bulk SMS
    • Phone Verification
    • Email Marketing Service
    • MPESA API Integration
  • Industries
    • Churches
    • Schools
    • Saccos
    • Banks
    • Businesses
    • Real Estate
  • Pricing
  • API
  • Log In
  • Resellers
  •  

bulk sms API

Home / Posts Tagged "bulk sms API"

Tag: bulk sms API

How to USE API to send SMS by PHP

These days bulk SMS feature is used for the various purpose in the web application. For example user authentication, OTP verification, sending the notification to users. To send bulk SMS from PHP script you need to select a best and cheapest SMS gateway provider that suitable for your requirement. Once the bulk SMS gateway and plan selection are completed, now it’s time to integrate SMS gateway in PHP script.

In this tutorial, we will show you how to integrate SMS gateway API in PHP. SMS gateway integration process is very simple and less time required. Using our example code you can easily send SMS from your website using SMS gateway API and PHP.

Usually, the SMS provider provides 3 types of plan, One-way messages, Two-way messages, and Both-ways messages. One-way messaging allow you to send SMS to the customers, but Two-way messaging allow not only the send SMS but also receive a reply from the customer.

Generally, SMS gateway provides a callback URL for passing some parameters, like API Key, sender number, receiver number, message content, etc. The parameters can differ for the different SMS gateway, based on that you need to change or add parameters in the following script.

 

//request parameters array
<?php

$username="username";
$Key="API Key";
$senderId="Sender ID";
$tophonenumber="destination";
$finalmessage="Your Msg";

$url="https://sms.movesms.co.ke/api/compose?";
$postData = array(
'username' => $username,
'api_key' => $Key,
'sender' => $senderId,
'to' => $tophonenumber,
'message' => $finalmessage,
'msgtype' => 5,
'dlr' => 0,
);

$ch = curl_init();
curl_setopt_array($ch, array(
CURLOPT_URL => $url,
CURLOPT_RETURNTRANSFER => true,
CURLOPT_POST => true,
CURLOPT_POSTFIELDS => $postData

));

curl_setopt($ch, CURLOPT_SSL_VERIFYHOST, 0);
curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, 0);

$output = curl_exec($ch);

if (curl_errno($ch)) {

$output = curl_error($ch);
}

curl_close($ch);

//or use this code

$username="username";
$Key="API Key";
$senderId="Sender ID";
$tophonenumber="destination";
$finalmessage=urlencode("Your Msg");
$live_url="https://sms.movesms.co.ke/api/compose?username=".$username."&api_key=".$Key."&sender=".$senderId."&to=".$tophonenumber."&message=".$finalmessage."&msgtype=5&dlr=0";
$parse_url=file($live_url);

$output1= $parse_url[0];

?>

Through our API portal we can guide you on how to integrate with the SMS API from PHP. Our most popular API is the HTTP to SMS API.  In few lines of code, your PHP application can send, receive, and reply text messages

Read More
Get to us through Email: sms@movetech.co.ke or call 0742 06 33 55
bulk sms kenya
Movetech Solutions Ltd
Movetech Solutions Ltd
4.4
Based on 27 reviews
powered by Google
Emmanuel Onoo
Emmanuel Onoo
19:24 13 Dec 19
Nice reception
Robert Lerionka
Robert Lerionka
16:38 08 Dec 19
This company really knows what it's doing! Movetech are the Masters of all. I had a training session with them and their delivery was outstanding. Their product was top of the line. Seamless performance. Awesome GUI. The flow of the software was logical and easy to use. Compared to other company's 'ported' solutions, theirs is the best local custom software I have come across. They listened for suggestions and feedback. Try them you will not regret. If you do, come ask me.
Jacob Kara
Jacob Kara
05:31 01 Dec 19
The place is fine
Shan Ashley
Shan Ashley
07:33 21 Nov 19
Nice services from great people. Always the best place to shop for all your IT solutions
Nderitu Kelvin
Nderitu Kelvin
15:59 29 May 19
Good tech and customer care
Rose Makena
Rose Makena
16:42 15 Mar 19
Web hosting at cheap prices Bulk SMS SEO Payroll systems POS software fpr restaurant management,school etc Asset Management Software with functionalities such as Depreciation calculation, Asset tracking ,Vendor /waranty information, property acquisition And many more You can find the here Their offices are at Njengi house 5th floor They have great customer service
Evans ishmael
Evans ishmael
05:57 11 Oct 17
Staff are so friendly and services are outstanding.
See All Reviews

Powered by Movetech

We Creative People