HTTP API (Legacy)

Overview

The page can be referenced at https://api.smsportal.com/api5/http5.aspx

We do offer HTTP communication, however HTTPS is recommended. To use SSL please replace https with http in all URLs mentioned in this guide. All functions require the following information:

  • Type
  • Username
  • Password

The “Type” defines what function you wish to execute.
The output is XML based and will always contain the following:

<api_result>
	<call_result>
		<result>True</result>
		<error/>
	</call_result>
</api_result>

Please Note:

Where XML data is passed the data between the xml tags should be URL encoded.

The following symbols need to be replaced if you’re using the “Get” method.

Symbol
Replace With

&

%26amp;

<

%26lt;

>

%26gt;