Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
SEO Metadata
titleSending SMS with Basic SMS API | Text Marketer

Learn how to send SMS text messages to multiple numbers with our basic SMS API - includes example code to try in a variety of programming languages. 


 

If you want to just send SMS and don't want to use our wrappers, it can be done with the minimum of effort using our basic SMS API. If you have any integration questions then just call us, 0117 205 0202 – option 3.

Skills Required:

  • Understanding of the HTTP (GET) protocol
  • Some knowledge of a programming language
  • Basic XML

Fast and easy: send SMS

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

Panel

https://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:

Panel

https://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.

Localtab Group
PHPRDarktruephpJAVARDarktruejavaC#/.NETRDarktruec#C++/CLIRDarktruecppCRDarktruecppVB.NETRDarktruevbASPRDarktruejsRubyRDarktrueruby
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.

 

Panel

 

 

 

Panel
titleRelated Content

Children Display