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) or as an International mobile phone number (00 + Country Code + Phone Number, example 0044zzzzzzzzz).
Get Started from main.py file
- Supports concatenated SMS (longer than 160 characters)
- Supports all Romanian networks
- Supports all international networks
- Supports international phone numbers formatting
- Returns the remote Bulk Package ID
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).
Python 3 with the following packages:
- hashlib
- OrderedDict from collections
- os
- requests
- re
- socket
- tempfile
- time
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.