The Opt Out Event

SlickText Webhooks

Event Description

The "opt out" event is a webhook event that is triggered whenever any of your textwords experiences an opt out. This event will happen in any of the following circumstances...

  • A contact is manually opted out from the dashboard.
  • Someone texts STOP to your shortcode.

NOTE: there is a difference between deleting a contact and opting them out in your dashboard. The opt out webhook event is only triggered if you are opting a contact out of a list.

Example

Below is an example of the JSON data you'd receive from the "Opt Out" event.


            {
               "Event":"OptOut",
               "Timestamp":"2014-08-14 19:25:53",
               "Subscriber":{
                  "SubscriberId":"658445349",
                  "TextwordId":"9454817",
                  "Number":"+15555555555",
                  "City":"Jamestown",
                  "State":"NY",
                  "FirstName":"John",
                  "LastName":"Smith",
                  "Birthdate":"1985-09-15 00:00:00",
                  "Email":"webhooks@slicktext.com",
                  "DateSubscribed":"2014-08-14 19:17:46"
                  "DateOptedOut":"2014-08-14 19:25:53"
               },
               "Textword":{
                  "TextwordId":"9454817",
                  "Textword":"slicktext",
                  "AutoReply":"Thanks for joining the SlickText text alerts list! Use co....
               }
            }
            
            

You're in excellent hands. We work with some of the world's greatest companies.