Want to incorporate SMS text messaging into your website or enterprise application? Using HTTP will permit users to send SMS directly through your site or network application (using your ipipi.com account). Please note that you need a special account setting to be able to use this API. Please contact us to set your account up.
Here are the instructions for how to send text messages using HTTP.
URL: http://service.ipipi.com/wsrv/api.asmx/METHOD_NAME?
Below is an example of an HTTP GET request and response for xmlSendSMS. The BOLD, ALLCAPS text that reads "STRING" below needs to be replaced with actual values:
HTTP GET
Request:
http://service.ipipi.com/wsrv/api.asmx/xmlSendSMS?Username=STRING&Password=STRING&SendTo=STRING&Text=STRING&Encoding=STRING
- USERNAME = your Your ipipi.com user name (the same account you use to login to www.ipipi.com – for example jsmith)
- PASSWORD = Your ipipi.com password (for the account you use to login to www.ipipi.com)
- SENDTO = recipient cell phone number in international format : +CountryCode_AreaCode_CellPhoneNumber (i.e +17782223344) Text = message text
- ENCODING = MUST BE 7 (Encoding=7)
Response:
<?xml version="1.0" encoding="utf-8" ?>
<Result>
<Status>
<StatusCode>0</StatusCode>
<StatusText>Success</StatusText>
</Status>
<TrackingID>MTID632812151322656250</TrackingID>
</Result>
Interpreting the Response:
- StatusCode = 0 - means sms was sent successfully
- StatusText = Success – no comments
- TrackingID = MTIDXXXXXXXXXXXXXXXXXX – ID for future reference to check SMS status