Help section
Using HTTP / HTTPS standard interface
Using HTTP / HTTPS XML interface
Using SMTP import@truesenses.com interface
Using SMTP direct addressing interface
Bulk SMS delivery reports
Track remaining account credits using HTTP / HTTPS
Please note that this section does not list integration documents for Premium SMS or IVR billing services. These documents are provided to contractual clients only.
|
|
Using HTTP / HTTPS XML interface
Bulk SMS MT Submission from client
In order to transmit delivery requests,
you should send requests to either:
- HTTP Reception Gateway
http://www.truesenses.com/cgi-bin/
smsgateway.cgi?FUNTION=EXTERN_XMLUPLOAD&
ACCOUNT=YourAccountName&PASSWORD=YourPassword
- HTTPS Reception Gateway
https://secure.simmcomm.ch/cgi-bin/
smsgateway.cgi?FUNTION=EXTERN_XMLUPLOAD&
ACCOUNT=YourAccountName&PASSWORD=YourPassword
MT Transmission parameters
The HTTP POST transmission string is composed of XML DATA which is specified in the XML-Interface specifications document.
See XML specifications PDF
Shell script examples using CURL
You can use any software or programming language for accessing the HTTP / HTTPS XML interface. Below we are providing example scripts of the most basic part, using CURL for the transmission.
For the script examples, you will need to install the CURL version corresponding to your operating system:
- Visit the CURL download page and download the version for your needs
Shell scripts for SMS transmission
Example payload.xml DATA for transmission scripts below
Linux/Unix/Mac OS X shell scripts
- sendxml.sh
Example:
./sendxml.sh Account Password payload.xml
Windows shell scripts
- sendxml.bat
Example:
sendsms.bat Account Password payload.xml
PHP Bulk SMS connector
PHP example script (requires CURL library on server)
- truesenses_bulk_xml.php
|