Configure a registered keyword to allow incoming SMS to be forwarded to a URL using https/post and also forwarded to an email address.
If either setXXX parameter is set to "n" then the associated newXXX parameter will be ignored.
If a setXXX parameter is set to "y" then the associated newXXX parameter will be assigned to the forwarding field.
If a setXXX parameter is set to "y" and the associated newXXX parameter is blank then the forwarding field will be set to blank. This will override any existing values and stop forwarding.
|
https/post call | https://secure.devsmsexpert.com/smsg/plat_keysetforwardings.mes |
parameters | $usr, $pwd [as supplied during account signup]
$keyword]
$shortcode {"60300" default}
$setsmsurl {"y", "n"}
$setsmsemail {"y", "n"}
$newsmsurl [must be urlencoded and a valid/accessible URL]
$newsmsemail [must be urlencoded and a valid/accessible email address |
API responses | See keyword tool response codes page |
example 1 | https://secure.devsmsexpert.com/smsg/plat_keysetforwardings.mes?usr=XXX&pwd=YYY&keyword=platinumtest1&setsmsurl=y&setsmsemail=y&newsmsurl=&newsmsemail=&shortcode=60300 |
example 2 | https://secure.devsmsexpert.com/smsg/plat_keysetforwardings.mes?usr=XXX&pwd=YYY&keyword=platinumtest1&setsmsurl=y&setsmsemail=y&newsmsurl=http://www.mywebsite.com/receivesms.php&newsmsemail=receivesms@mywebsite.com&shortcode=60300 |
in a browser | Paste the example into your browser & modify the parameters |