The Webhook allows you to subscribe to different Sitefinity CMS events. When a particular event is registered by the EventHub system, the data for the event is sent to a particular URL that you have registered in the Webhook.
The URL can be the URL of an external system or application that you want to integrate with Sitefinity CMS. The Webhook allows you to accomplish this without writing code in Sitefinity CMS.
The Webhook mechanism has its own module and configuration section in the Advanced settings. The Webhook module is disabled by default.
In the configuration section, you can configure a collection of event types. For these types you register one or more URLs. These are events that are raised by the Sitefinity CMS EventHub and can only be public interfaces that inherit from IEvent, for example -Telerik.Sitefinity.Web.Events.ILoginCompletedEvent.
IEvent
Telerik.Sitefinity.Web.Events.ILoginCompletedEvent
For each event, you can have a collection of URLs. To these URLs, the Webhook sends a POST request with Content-Type: application/json. The body of the request contains the event properties serialized in JSON format.
POST
Content-Type:
application/json
The Webhook module supports the following events:
Telerik.Sitefinity.Web.OutputCache.IOutputCacheInvalidationEvent
Telerik.Sitefinity.Modules.Forms.Events.IFormEntryCreatedEvent
PREREQUISITES: To use the Webhook, you must activate the Webhook module from Administration » Modules & Services.
To setup the Webhook, perform the following:
{body_of_request}_{timestamp}
Sf-Signature
Sf-Signature-Timestamp
IMPORTANT: If you configure a secret, then you must compute the hash on the other side, using the secret and the timestamp, and compare it with the Sf-Signature header. This way you can ensure that the request comes from Sitefinity CMS and can prevent others from sending invalid data to the endpoint.
IOutputCacheInvalidationEvent
ILoginCompletedEvent
IFormEntryCreatedEvent
Increase your Sitefinity skills by signing up for our free trainings. Get Sitefinity-certified at Progress Education Community to boost your credentials.
This free lesson teaches administrators, marketers, and other business professionals how to use the Integration hub service to create automated workflows between Sitefinity and other business systems.
This free lesson teaches administrators the basics about protecting yor Sitefinity instance and its sites from external threats. Configure HTTPS, SSL, allow lists for trusted sites, and cookie security, among others.
The free on-demand video course teaches developers how to use Sitefinity .NET Core and leverage its decoupled architecture and new way of coding against the platform.
To submit feedback, please update your cookie settings and allow the usage of Functional cookies.
Your feedback about this content is important