The Contest Entry Event

The "contest entry" event is a webhook event that is triggered whenever someone enters a contest for any of your textwords.

Example

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


                {
                   "Event":"ContestEntry",
                   "Timestamp":"2014-08-13 13:11:24",
                   "attemptNumber":1,
                   "Contest":{
                      "ContestId":"1265",
                      "DateCreated":"2014-08-13 13:00:57",
                      "TextwordID":"9454817",
                      "ContestName":"My awesome contest",
                      "StartTime":"2014-08-05 13:00:00",
                      "EndTime":"2014-08-29 14:00:00",
                      "AutoReply":"Thanks for entering for a chance to win!",
                      "WinnerMessage":"You are a winner!!"
                   },
                   "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":false
                   }
                }