Opt Out From API
OptOut a recipient mobile number through the SendMode HTTP API.
Available HTTP Methods: GET
Parameters
Field | Description | Mandatory |
---|---|---|
type | Optout | YES |
username | Account username | YES |
password | Account password | YES |
mobilenumber | The mobile number to put in optout list. | YES |
optoutreason | Reasons for opting out. (Max 50 Char) | NO |
returnedresponse | Information to returned to your URL. | NO |
Example URL
http://api.sendmode.com/optoutmember.aspx?type=optout&username=xxxxx&password=yyyyyy_ &mobilenumber=0871234567&optoutreason=Doent%20want%20messages&returnedresponse=TEST STOP
Response
Example Response
<optout_result> <call_result> <result> True </result> <error> </error> </call_result> </optout_result>