A webhook is a reusable notification action for Alert Rules. Create it once in Company Settings, then assign it to Alert Rules in individual Kio Apps. The webhook request is sent each time an assigned Alert Rule is triggered.
Before you begin
- Administrator role in Company Settings
- The external system URL that will receive the webhook requests
- Any authentication credentials the external system requires (for example, an API key to include as a header)
- At least one Kio App with Alert Rules active on the account
Steps
- Open Company Settings from the Kontakt.io Launchpad.
- In the navigation menu, select Webhooks.
- Select Add New Webhook.
- Enter a Name for the webhook.
- Enter the URL for the external endpoint.
- Under Apps, select the Kio Apps whose Alert Rules will be allowed to assign this webhook as a notification action.
- In the Payload field, enter the body in JSON, XML, or Text format. To inject alert data or custom values, insert a variable from the variable list.
- To add HTTP headers, select Add Header and enter the key and value. Use variables for sensitive values such as authorization tokens.
- To add URL parameters, select Add Parameter and enter the key and value.
- Select Save.
The webhook appears in the Webhooks list.
What happens next
No requests are sent until the webhook is assigned to an Alert Rule. To assign it:
- Open the relevant Kio App from the Kontakt.io Launchpad.
- Go to Alert Rules.
- Edit an existing rule or create a new one.
- In the Actions section, select Webhook and choose this webhook.
- Save the Alert Rule.
Once assigned, the webhook request is sent each time that Alert Rule is triggered.