Unsubscribe VIA MT Unsubscribe Notification
This document will go over how to unsubscribe a user via an MT message.
GET /srs/api/sendsms
GET /srs/api/sendsms curl -XGET -H "Content-type: application/json" 'https:hostname/srs/api/sendsms?USER_NAME=<account_id>&PASSWORD=<API_Key>&ORIGINATOR=<Short_code>&RECIPIENT=<MSISDN>&PROVIDER=<network>&MESSAGE_TEXT=<URL_encoded_message>&KEYWORD=<product_id>&STARTED=<YYYY-MM-DD HH:MM>+STOP&CLASS=PAUSE'import requests
headers = {
'Content-type': 'application/json',
}
response = requests.get(
'http://https:hostname/srs/api/sendsms?USER_NAME=<account_id>&PASSWORD=<API_Key>&ORIGINATOR=<Short_code>&RECIPIENT=<MSISDN>&PROVIDER=<network>&MESSAGE_TEXT=<URL_encoded_message>&KEYWORD=<product_id>&STARTED=<YYYY-MM-DD HH:MM>+STOP&CLASS=PAUSE',
headers=headers,
)Name
Value
Parameter
Type
Example
Description
{
"MT-aabbccddeeff00112233445566778899"
}{
"error": "Username or Password incorrect"
}Last updated