The New Subscriber Event

The "new subscriber" event is a webhook event that is triggered whenever any of your textwords acquire a new subscriber. This event will happen in any of the following circumstances...

  • You add a contact manually through you dashboard.
  • Someone texts in to join one of your lists.
  • Someone enters a contest that isn't yet on your text list.

Example

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


                  {
                     "Event":"NewSubscriber",
                     "Timestamp":"2014-08-14 19:17:46",
                     "attemptNumber":1,
                     "Subscriber":{
                        "SubscriberId":"658445349",
                        "TextwordId":"9454817",
                        "Number":"+15555555555",
                        "City":"Jamestown",
                        "State":"NY",
                        "Zip":"14701",
                        "Country":"US",
                        "FirstName":"John",
                        "LastName":"Smith",
                        "Birthdate":"1985-09-15 00:00:00",
                        "Email":"webhooks@slicktext.com",
                        "DateSubscribed":"2014-08-14 19:17:46",
                        "OptInSource": "Text to Join",
                        "FavoriteFood": "Pizza"
                     },
                     "Textword":{
                        "TextwordId":"9454817",
                        "Textword":"slicktext",
                        "Description": "This is a demo textword",
                        "AutoReply":"Thanks for joining the SlickText text alerts list! Use co....
                     },
                     "PromoCode":{
                        "Code":"HKD5545",
                        "DateIssued":"2014-08-14 19:17:46"
                     },
                     "ExpirationDate":{
                        "ExpirationDate":"9\/5"
                     }
                  }