Network Double Opt-in (NDOI) Unsubscribe
Learn how to handle an NDOI request using our API.
GET /api/doi/<account_id>/<api_key>/
GET /api/doi/<account_id>/<api_key>/curl -XGET -H "Content-type: application/json" 'https://hostname/api/doi/<account_id>/<api_key>/?source=<shortcode>&destination=<msisdn>&keyword=<kw>&frequency=7&amount=100&campaign=Test&provider=<networkprovider>&reference=<your internal reference>&stop'import requests
headers = {
'Content-type': 'application/json',
}
response = requests.get(
'https://hostname/api/doi/<account_id>/<api_key>/?source=<shortcode>&destination=<msisdn>&keyword=<kw>&frequency=7&amount=100&campaign=Test&provider=<networkprovider>&reference=<your internal reference>&stop',
headers=headers,
)Name
Value
Parameter
Type
Example
Description
{
"200": "MT-c65561314eb34088b6df42d8241aace0"
}{
"error": "541"
}Last updated