Opt Out From API

 OptOut a recipient mobile number through the SendMode HTTP API.

Available HTTP Methods: GET

sm_api_icon

Parameters

Parameters

FieldDescriptionMandatory
typeOptoutYES
usernameAccount usernameYES
passwordAccount passwordYES
mobilenumberThe mobile number to put in optout list.YES
optoutreasonReasons for opting out. (Max 50 Char)NO
returnedresponseInformation 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

Response

Example Response
<optout_result>

    <call_result>
    
        <result>
        
        True
        </result>
        
        <error>
        
        </error>
        
    </call_result>
    
</optout_result>