Using the Swift SMS API is easy!

Swift SMS Gateway® connects your business text messaging using a simple SMS, or MMS API call from our website to cell phones globally.

Swift Authentication Key

1) Get an Account Key

API Code

2) Pick Your Code

Paper Airplane

3) Send Your Message

API Integration

Use the power of the Swift SMS Gateway® API to send SMS and MMS. It’s fast and easy. We provide a full library of programming documentation with popular languages that include RESTful and Legacy examples. Get Your Code Now!

// uses JQuery library
var postUrl = “”
}+ accountKey + “/” + destinationNumber
var body = JSON.stringify({
MessageBody: “Message Body”
url: postUrl,
method: “POST”,
contentType: “application/json;charset=UTF-8”,
data: body
}).done(function(response) {
}).error(function (xhr, textStatus, errorThrown) {
alert (xhr.responseText);

// using SOAP Module –

class SMSParam {
public $CellNumber;
public $AccountKey;
public $MessageBody;

$client = new SoapClient(‘’);
$parameters = new SMSParam;

$parameters -> CellNumber = destinationNumber;
$parameters -> AccountKey = accountKey;
$parameters -> MessageBody = “This is a demonstration of using PHP5.”;

$Result = $client->SendMessage($parameters);

‘Using Service Reference (SOAP)
Using client = New SwiftSMS.SendSMSSoapClient
Dim response = client.SendMessage(destinationNumber, messageBody, accountKey)
End Using

‘Using Webclient (REST)
Dim url = String.Format(“{0}/{1}”, accountKey, destinationNumber)
Dim body = String.Format(“{{ “”MessageBody””: “”{0}””, “”Reference”” : “”{1}”” }}”, messageBody, reference)

Using wClient = New Net.WebClient
wClient.Encoding = New UTF8Encoding()
wClient.Headers.Add(“content-type”, “application/json”)

Dim wResponse = wClient.UploadString(url, body)
End Using

Simple HTTP GET:
curl “[destinationNumber]&AccountKey=[accountKey]&MessageBody=[messageBody]”

curl -H “Content-Type: application/json” -X POST \
“[accountKey]/[destination]” \
––data “{ \”MessageBody\”: \”[messageBody]\” }”

// Service Reference / SOAP
using (var client = new SwiftSMS.SendSMSSoapClient())
string response = client.SendMessage(destinationNumber,
messageBody, accountKey);

// Web Client / REST
dynamic body = new ExpandoObject();
body.MessageBody = “Message Body”;

var url = string.Format(“{0}/{1}”,
accountKey, destinationNumber);

using (var wClient = new System.Net.WebClient())
wClient.Encoding = Encoding.UTF8;
wClient.Headers.Add(“content-type”, “application/json”);

string response = wClient.UploadString(url,