Send Single SMS
This provides the capability to send a text message of up to 160 characters to a sinlge mobile phone. This method is HTTP Get compatible.
https://primary.smartmessagingservices.net/gateway/services/SMSService?method=sendSingle&username=your.username&password=your.password&recipient=%2B61your.phone&text=testing+1+2+3
*Please note that when using the HTTP Get method you must url encode any special characters
original character |
url encoded |
---|---|
(space) |
+ |
+ |
%2B |
A documentId is returned which can then be used to query the status of the submitted SMS.
method |
parameters |
return |
---|---|---|
send |
(String username, String password, String recipient, String text); |
String documentId |