Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

 In your preferred programming language all you need to do is generate a GET request like this:

Status
subtletrue
colourGreen
titlehttps://api.textmarketer.co.uk/gateway/?username=u&password=p&to=4477777777&message=test+message&orig=my_script

If you want to send to multiple numbers, use a comma delimited list. Here is an example:

Status
subtletrue
colourGreen
titlehttps://api.textmarketer.co.uk/gateway/?username=u&password=p&to=4477777777,4477777778,4477777779&message=test+message&orig=my_script

Beware that, due to limitations on the HTTP protocol, sending to multiple numbers is limited to 500 recipients. So, if you want to send the same SMS to more than 500 recipients, e.g. 750 recipients, you'll have to send it in two batches: 500 + 250.

Code Examples for sending SMS

Get started instantly. You can copy & paste the code examples below for use with our SMS API Gateway.

Warning

Our example code is an illustration of how you might integrate with our systems and is not certified for production environments. You are responsible for testing and QA.

 

 

JavaCode Example for sending SMS - JavaDJangojava

 

 

PHPCode Example for sending SMS - PHPDJangophpC#/.NetCode Example for sending SMS - C#/.NETDJangoc#C++/CLICode Example for sending SMS - C++DJangocppCCode Example for sending SMS - CDJangocppVB.NETCode Example for sending SMS - VB.NETDJangovbASPCode Example for sending SMS - ASPDJangoactionscript3RUBYCode Example for sending SMS - RUBYDJangoruby
Localtab Group
SEO Metadata
composedTitleSending Bulk SMS with Simple SMS API | Text Marketer
titleSending Bulk SMS with Simple SMS API | Text Marketer

Sending Bulk SMS text messages explained, using our simple SMS API. Create a free Text Marketer account to configure the API.



 

The API uses HTTP GET requests to communicate with the Text Marketer gateway server. The requests allow you to send SMS’s through the system to the end user.
This guide provides a one-stop reference for the Simple API. It assumes the reader has a basic understanding of HTTP GET and some basic level in a development language such as PHP, .Net etc.


You may wish to use are more comprehensive and feature rich REST API, you need to know the difference between POST and GET requests, and be familiar with the principles of XML. 

 

Tip

You can get code examples for interacting with the API using your preferred programming language here.

First you need to create a free account with us.

This will allow you to configure some aspects of the account. Once you have logged in the menu option you will need is “Account Settings” => “Api Confg tab” this will give you the username and password you need plus an example url.

 

 

 

Panel
titleRelated Content

Children Display