Skip to content

Example for sending SMS using PHP & cURL and using SMS Gateway (BULK) Endpoint Version 1 API from SMSLink

Notifications You must be signed in to change notification settings

SMSLink-ro/Example-for-sending-SMS-using-PHP-with-BULK-Endpoint-ver.-1

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 

Repository files navigation

Example for sending SMS using SMSLink - SMS Gateway (BULK) Endpoint Version 1 API using PHP

This is an example for sending SMS using SMSLink.ro API, called SMS Gateway (BULK). SMSLink.ro allows you to send SMS to all mobile networks in Romania and also to more than 168 countries and more than 1000 mobile operators worldwide.

Requirements & Usage

  1. Create an account on SMSLink.ro
  2. Create a SMS Gateway connection at SMSLink.ro / SMS Gateway / Configuration & Settings. Each SMS Gateway connection is a pair of Connection ID and Password.
  3. Find and replace within the example the values for Connection ID and Password parameters with the values obtained at the previous step.
  4. Within the examples find and replace the value for to and message parameters with the destination phone number for the SMS and with the message to be sent to the destination. Phone numbers should be formatted as a Romanian national mobile phone number (07xyzzzzzz).

New SMS Gateway (BULK) API Version Available

Please note that there is a new version availabile for SMS Gateway (BULK) API, called SMS Gateway (BULK) Endpoint Version 3, that includes more features and options.

About SMS Gateway (BULK) Endpoint Version 1 API

Please note that SMS Gateway (BULK) Endpoint Version 1 API is designed to send large volumes of SMS in a single request and thus can send only SMS up to 160 characters. For sending SMS longer than 160 characters, please use SMS Gateway (HTTP), SMS Gateway (SOAP), SMS Gateway (JSON) or SMS Gateway (BULK) Endpoint Version 3.

Examples for SMS Gateway (HTTP), SMS Gateway (SOAP), SMS Gateway (JSON) or SMS Gateway (BULK) Endpoint Version 3 can be found here:

  1. SMS Gateway (HTTP): https://github.com/SMSLink-ro/Example-for-sending-SMS-using-PHP-cURL/blob/master/main.php
  2. SMS Gateway (SOAP): https://github.com/SMSLink-ro/Example-for-sending-SMS-using-PHP-SoapClient/blob/master/main.php
  3. SMS Gateway (JSON): https://github.com/SMSLink-ro/Example-for-sending-SMS-using-PHP-cURL-with-JSON/blob/master/main.php
  4. SMS Gateway (BULK) Endpoint Version 3: https://github.com/SMSLink-ro/Example-for-sending-SMS-using-PHP-with-BULK-Endpoint-ver.-3/blob/master/main.php

Documentation

The complete documentation of the SMSLink - SMS Gateway API can be found here, describing all available APIs (HTTP GET / POST, SOAP / WSDL, JSON and more).

System Requirements

PHP 5 or greater with PHP cURL library

Additional modules and integrations

SMSLink also provides modules for major eCommerce platforms (on-premise & on-demand), integrations using Microsoft Power Automate, Zapier or Integromat and many other useful features. Read more about all available features here.

Support

For technical support inquiries contact us at contact@smslink.ro or by using any other available method described here.

About

Example for sending SMS using PHP & cURL and using SMS Gateway (BULK) Endpoint Version 1 API from SMSLink

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages