The Survey Question Responded Event

The "survey question responded" event is a webhook event that is triggered whenever someone responds to one of your survey questions.

Example

Below is an example of the JSON data you'd receive from the "survey question responded" event.


                  {
                     "Event":"SurveyQuestionResponded",
                     "Timestamp":"2017-03-22 12:40:33",
                     "attemptNumber":1,
                     "Survey":{
                        "SurveyId":"45453",
                        "TextwordId":"4315521",
                        "SurveyName":"Test Survey",
                        "SurveyDescription":"This is my test survey",
                        "OneCompletionPer":"month",
                        "CompletionMessage":"Thank you for taking our survey. Your feedback is appreciated!",
                        "RequestOptIn":"1",
                        "OptInMessage":"Join our VIP text list by responding with the word YES.",
                        "TextwordStartsSurvey":"1",
                        "ActiveStatus":"1",
                        "Created":"2017-02-31 09:39:21"
                     },
                     "SurveyEngagement":{
                        "EngagementId":"172335",
                        "FirstName":"John",
                        "LastName":"Smith",
                        "Number":"+15553459877",
                        "City":"JAMESTOWN",
                        "State":"NY",
                        "Zip":"14701",
                        "Country":"US",
                        "Email":"noreply@slicktext.com",
                        "Birthdate":"1991-02-13 00:00:00",
                        "Created":"2018-04-31 12:39:36",
                        "Completed":null
                     },
                     "SurveyQuestion":{
                        "QuestionId":"73450",
                        "Question":"What's your favorite color?",
                        "Type":"multi",
                        "AllowedResponses":{
                           "a":"green",
                           "b":"blue",
                           "c":"red"
                        },
                        "Created":"2018-05-31 09:39:21"
                     },
                     "QuestionResponse":{
                        "ResponseId":"23264",
                        "Response":"b",
                        "Created":"2018-05-30 09:39:21"
                     }
                  }