Inbound SMS to virtual mobile numbers API
The following variables will be sent to your script via HTTP POST or GET upon a message being delivered to you. If you can design your script to listen out for the variables below:
Please note that we expect the originator ID to be in a numeric format, rather than alphanumeric, however this should not affect the majority of senders.
Verification with variable
You can set a verification variable to protect your script from spamming.
You can use this to check whether the inbound data was sent to your virtual mobile number.
Our example script assumes that you have set a variable verify=aql in your destination URL, e.g. your virtual mobile number points to http://192.168.1.100/script.php?verify=aql
Failover with multiple destinations
You can set multiple destinations to your virtual mobile number.
This can be used to failover and ensure the inbound data will reach your script.
For example, if you have set two destinations http://192.168.1.100/script1.php and http://192.168.200/script2.php our system will first try to HTTP POST/GET request to script1.php and failing that the data will be delivered to script2.php
If no GET variables are specified we will pass the following:
OR can pass some of the above and those below to your own parameter names depending on your requirements.
Relay IP addresses
MO messages to these numbers are relayed from these IPs: