MT HTTP

From SMS Wiki
Revision as of 17:29, 8 May 2008 by Bzurkovic (Talk | contribs)

Jump to: navigation, search

Sending an SMS via SOAP (HTTP)

EnterpriseSMS API uses SOAP to authenticate requests and send SMS messages. It can be access from both encrypted (SSL) and unencrypted connections. Since some customers may opt for the latter all API calls use token and signature as proxies for username and password. Therefore, there are two steps:

  • Get your token and signature (this is done once, or after account password is changed)
  • Send message

To get your token visit or make a call to: http://api.upsidewireless.com/soap/Authentication.asmx?op=GetParameters

To send your message visit or make a call to: http://api.upsidewireless.com/soap/SMS.asmx?op=Send_Plain

We strongly recommend SOAP method as the input and output variables are strongly typed, however at times using HTTP POST or GET is the only option. HTTP GET should, however be avoided as it is fraught with problems (string length, encoding issues, etc).

When using HTTP POST, be certain to retrieve the result of the request as it will contain valuable data that will assist in determining the message state.

To see a full set of functions that are available for sending SMS, please visit http://api.upsidewireless.com/soap/SMS.asmx