Select Page

Outbound SMS API – Video Tutorial

Grab the popcorn and let us show you the Outbound SMS API

Watch this video and learn more about integrating SMS text messaging to any application or web site with our powerful, secure & scalable SMS APIs.

Note: This video is to be used only as a reference for India users as it was originally made for UK product and audience.

Video Transcript

Welcome to Messenger Tutorials. These simple ‘show and tell’ guides will help you understand how easy it is to use our award-winning online platform Messenger.


This Tutorial is for ‘SMS API – Integrate SMS’

We’ll show you just how simple it is to integrate SMS text messaging to any application or web site.


We offer a very simple ‘HTTP post’ or ‘get API’

So, in your browser for example it’s just as simple as ‘passing in a URL’, which is the URL on our server and finally its variables like your username, your password, the message you want to send to the handset, the comma separator and some numbers you want to send the message to, the from name of your text message, be it a word up to eleven characters or a telephone number and info equals one if you want use to echo information back to your application.

So, in PHP, in just a few lines of code you’ll be up and running in minutes.

To get started you pass in your username and password which are generated when you create your textlocal account.

You also pass in, info equals one.

If you would like information returned back to your application to say whether you received the message or not.

And test equals ‘nought’ or ‘one’ to show whether we’re in test mode or not.

If we’re in test mode, messages won’t actually be delivered to handsets but will simulate this, you will se it in the reports section on the control panel.


Now we pass in the key elements of the text message.

You can gather these from either from a form submission on your web site to this PHP page, or you might decide to retrieve this information from your database and put it into these strings.

So we start with the ‘from address’. This shows whose sending the message, it can either be a word up to 11 characters or can be a number up to 14 digits.

If it’s a word people can’t reply, if it’s a number they can.

‘Selectednums’ is the comma separated list of the recipients of your text message.

This can be up to 10 thousand numbers, however we recommend keeping it to around 500 and no more, just in case there’s a break in transmission

Message is the message content itself.

You see in the example we pass in ampersand and a ?5 symbol.

This is just a test that your encoding the message correctly so PHP would use ‘urlencode’ to encode the message.


Then we simply build up the string

So you see here, data, is equal to the variables we created above.

Then using curl we assign the URL of the API on our server which is forward slash send sms post dot php, and then we literally just let curl take over which sends the message out instantly

So, give it a test yourself and you should see if you receive the message in around 4 seconds.

Don’t forget within Messenger you can click on ‘help’ at any time or, of course, you can always call our friendly Support Desk

Thank you from the UK’s number One mobile messaging provider – Textlocal

Mobile, have you clicked yet…?


Customer Service & Support Is Realtime and Excellent. We chose Textlocal due to the versatile options in their product, which cover different areas of communication. Customer Service of Textlocal is the best part of the deal; Hassle-free, real-time support and best in reverting to the query without follow up.


We had a Smooth Relationship with Textlocal and no issues in the service. Good Co-ordination and great service by the Textlocal team.


It's been our pleasure that we are connected with TextLocal for the services since long & we are happy to utilize these services, Recently we were looking to send personalized messages because the content of the message was with a link on candidates name and asking some sort of personal information. We approached Textlocal and were told about the "Excel to SMS" feature. We have sent personalized campaigns to 3 lakh+ data and are very happy with the results, all thanks to Textlocal team.


Dashboard is easy to understand and all the necessary functionality is offered. Alerts setting, Reports, API Integration, SMS scheduling is easily done, along with it we can fetch detail reports anytime. Support Team is available to solve the Query.


The team is very much supportive and managed all our projects effectively. They were very responsive and worked fast to touch our target. We hope that you will continue to favour us with your extended support.



Their API service works perfectly. Their customer support picks up the phone and responds to our queries within less than 5 minutes *every single time* and the user interface of the product is simple and once again, just works.

Vaidy Bala


Our experience with Textlocal's E-mail to SMS Gateway service has been very positive - all the way from evaluating the service (received very nice technical sales support to address our key requirements) to adoption (very simple & quick processes + very responsive team that helped us get started quickly) & usage- the service itself has been very reliable so far!!

Intel Corp.


Easy to use and the SMS campaigns are done swiftly. Batch Scheduling on a specific time has been functioning superbly. Tracking of messages provide a great support to us in analyzing the outcomes.Overall a great experience !

Deepika Radhu

Try us. You will love the Textlocal experience.

Easy and Powerful

Effortlessly send powerful bulk SMS communications from our easy-to-use web interface and comprehensive & flexible APIs.

Best-in-class SMS Delivery

Get unmatched delivery rates and speeds with our direct telecom operator connectivity and intelligent bulk SMS gateway.

Fanatic Customer Support

Whether it's detailed demos, API integrations or bespoke requests, we're always there to help you. We're rated 4.8/5 on Trustpilot.

One Place For All SMS Needs

Send promotional or transactional SMS via web UI, APIs & plugins, receive SMS & missed call hits, set up tiered accounts & more!

10 test credits on activating your account. Only for business use. No credit card required.