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.
- Create an account on SMSLink.ro
- Create a SMS Gateway connection at SMSLink.ro / SMS Gateway / Configuration & Settings. Each SMS Gateway connection is a pair of Connection ID and Password.
- Find and replace within the example the values for Connection ID and Password parameters with the values obtained at the previous step.
- 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).
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.
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:
- SMS Gateway (HTTP): https://github.com/SMSLink-ro/Example-for-sending-SMS-using-PHP-cURL/blob/master/main.php
- SMS Gateway (SOAP): https://github.com/SMSLink-ro/Example-for-sending-SMS-using-PHP-SoapClient/blob/master/main.php
- SMS Gateway (JSON): https://github.com/SMSLink-ro/Example-for-sending-SMS-using-PHP-cURL-with-JSON/blob/master/main.php
- 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
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).
PHP 5 or greater with PHP cURL library
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.
For technical support inquiries contact us at contact@smslink.ro or by using any other available method described here.