//-- Intent: send the sms message with smscode of 100000 to --//
//-- an existing contact list with listcode 200000 and name --//
//-- the alert "My Test Alert" --//


var jsonString = ' \
{ \
	"SwiftAPI-Key": "12345" \ 
}';

$.ajax({
  type: "POST",
  contentType: "application/json; charset=utf-8",
  headers: {"SwiftAPI-Key": "12345"},
  url: "http://api.v4.swiftreach.com/api/Messages/Text/Send/MY%20Test%20Alert/100000/200000",
  data: jsonString,
  dataType: "json"
  success: function(result) {
        // Do something with the result
    }

});

<!-- example return value -->
123456