Getting started
Webhook alerts send a POST request to your specified URL and pass a JSON composed with 3 groups of data:
Alert properties (alert_name, ...)
These fields are directly returned in the top level of the json
Event properties (technology_name, ...)
These fields are nested in a json under the "event_properties" key
Company properties (employees_range, ...)
These fields are nested in a json under the "company_properties" key
A typical JSON payload for a webhook alert set through Sonar is as follow:
All keys are sent, with a null object returned when the data is not available.
Company properties have been added to all events to allow greater flexibility in the way you can use the alerts in your workflows. You can for example automatically send that information to an outbound tool with the right data like the name of the company as a parameter.
Last updated