Unsubscribing users from your service

This document will describe how to unsubscribe users from your service.

GET /api/doi/

Unsubscribe a user from your service that is using MNO Web Opt-In for Kenya.

curl -XGET -H "Content-type: application/json" 'https://hostname/api/doi/<account_id>/<api_key>/?source=<shortcode>&destination=<msisdn>&keyword=<kw>&frequency=7&campaign=Test&reference=<your internal reference>&stop=1'

Headers

Body

Additional Body

Response

{
  "200": "MT-c65561314eb34088b6df42d8241aace0",
}

Please note, the description of the failed unsubscribe message will describe the reason for failing.

Last updated