SMS Text API Gateway - Easy Integration Any Language

Benefits of the new Text Marketing API

Introducing our brand new Textlocal API - It has never been more convenient to apply the new SMS and MMS services API to your website, software or CRM. Take a look at our new faster API packed full of new features and more languages.

It is easy to implement, secure and reliable - you can also inject numbers into our API and even check your account balance.

<?php
	// Textlocal account details
	$username = urlencode('youremail@address.com');
	$hash = urlencode('Your API hash'); // Get this when logged in at https://control.txtlocal.co.uk/docs/
	
	// Message details
	$numbers = urlencode(447123456789,447987654321);
	$sender = urlencode('Textlocal');
	$message = urlencode('This is your message');

	// Prepare data for POST request
	$data = 'username=' . $username . '&hash=' . $hash 
	  . '&numbers=' . $numbers . "&sender=" . $sender . "&message=" . $message;
 
	// Send the GET request with cURL
	$ch = curl_init('https://api.txtlocal.com/send/?' . $data);
	curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
	$response = curl_exec($ch);
	curl_close($ch);
	
	// Process your response here
	echo $response;
?>

Integrate any application with Textlocal using our simple API gateway and send SMS instantly. Whether your application is for web, desktop or mobile we support it. There are many code examples in multiple languages to get you started and what you do from there is up to you, the possibilities really are endless. Of course, the API is not all about sending SMS, you can send MMS messages too as well as schedule messages, manage contacts, retrieve inbound messages and so much more. Why not take a look at the features below and get the ball rolling on your project!

Easily integrate SMS features with your app

Who's using Textlocal

Still using our old API?

Read more about Textlocal

Text local provide a service for a diverse catalogue of clients across a wide range of industries, sending text messages amassing over 40 million per month. SMS marketing with our API is easily accessible to a wide audience where you can achieve a variety of goals using SMS including, but not limited to, lead generation, enhanced customer experience and brand awareness.

We help clients across many different industry sectors including healthcare, financial, leisure, hospitality, logistics and many more. SMS for business is used for a number of marketing activities that can be appointment based - by reminding people of upcoming appointments, notification based - making people aware of new events, promotions and discounts and has numerous other creative uses Below you will find more examples.

Top