This is an integration example for sending SMS using SMSLink.ro API, called SMS Gateway. 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.
- See Usage Examples for the SMSGateway() class starting on line 353 in main.php file from the repository.
- $SMSGateway->sendMessage() - sends an SMS
- $SMSGateway->accountBalance() - retrieve SMSLink account balance
- Supports HTTP and HTTPS protocols
- Supports PHP cURL GET, PHP cURL POST and file_get_contents()
PHP 5 or greater with PHP cURL library or file_get_contents with allow_url_fopen to be set to 1 in php.ini
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).
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.