The Email Captured Event

The "email captured" event is a webhook event that is triggered whenever an email is captured from a subscriber. This event will happen in any of the following circumstances...

  • An email address is added to a subscriber's record from the dashboard.
  • Someone texts their email address to your shortcode after subscribing.

Example

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


                    {
                       "Event":"EmailCaptured",
                       "Timestamp":"2014-08-14 19:25:53",
                       "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....
                          "EmailCaptureAutoReply":"Reply with your email address and receive...
                          "EmailCaptureConfirmation":"Thanks! We've marked your email down...
                       }
                    }