Skip to main content

Web Hooks

Event subscriptions enable notifications to be sent to a publicationUrl when an event occurs. The notification will also contain data specific to the triggering event. The events currently supported are enumerated below, along with the data accompanying the event notification.

controlpanel.activateSurvey

AttributeTypeDescription
StatusStringThe result will be Active if successful
SurveyIDGUIDThe Survey ID of the survey that has been activated
BrandIDStringThe ID of the user's organization

controlpanel.deactivateSurvey

AttributeTypeDescription
StatusStringThe result will be Inactive if successful
SurveyIDGUIDThe Survey ID of the survey that has been deactivated
BrandIDStringThe ID of the user's organization

surveyengine.startedRecipientSession.{SurveyID}

AttributeTypeDescription
StatusStringThe result will be Started if successful
SurveyIDGUIDThe Survey ID of the survey which has been started
RecipientIDGUIDThe Recipient ID of the response that has been started
ResponseEventContextStringCustom context that can be set via the ResponseEventContext embedded data. (50 character limit)
DistributionIDGUIDThe ID of the distribution that sent the survey
StartedDateStringThe date and time (UTC) that the response was started
BrandIDStringThe ID of the user's organization

surveyengine.partialResponse.{SurveyID}

AttributeTypeDescription
StatusStringThe status will always be Partial if successful
SurveyIDGUIDThe Survey ID of the survey whose partial response has been recorded
RecipientIDGUIDThe Recipient ID of the response that has been completed
ResponseEventContextStringCustom context that can be set via the ResponseEventContext embedded data. (50 character limit)
DistributionIDGUIDThe ID of the distribution that sent the survey
ResponseIDGUIDThe Response ID of the response that has been partially completed
CompletedDateStringThe date and time (UTC) that the response was recorded
BrandIDStringThe ID of the user's organization

surveyengine.completedResponse.{SurveyID}

AttributeTypeDescription
StatusStringThe status will always be Complete if successful
SurveyIDGUIDThe Survey ID of the survey whose response has been completed
ResponseIDGUIDThe Response ID of the response that has been completed
RecipientIDGUIDThe Recipient ID of the response that has been completed
ResponseEventContextStringCustom context that can be set via the ResponseEventContext embedded data. (50 character limit)
DistributionIDGUIDThe ID of the distribution that sent the survey
CompletedDateStringThe date and time (UTC) that the response was completed
BrandIDStringThe ID of the user's organization

Tip​

If you need to generate a test URL you can do this using RequestBin or Mockbin.