{% extends "base.html" %} {% load compress humanize static hc_extras %} {% block title %} {% if is_new %} Add Webhook Integration - {% site_name %} {% else %} Webhook Settings - {% site_name %} {% endif %} {% endblock %} {% block content %}

Webhook

Executes an HTTP request to your specified URL when a check goes up or down. You can use placeholders $NAME, $STATUS and others in webhook URLs, request body and header values (available placeholders).

{% csrf_token %}

Give this integration a descriptive name, so you can easily recognize it later.

Execute when a check goes down


{% if form.url_down.errors %}
{{ form.url_down.errors|join:"" }}
{% endif %}
{% if form.headers_down.errors %} {{ form.headers_down.errors|join:"" }} {% else %} Optional "Header-Name: value" pairs, one pair per line. {% endif %}

Execute when a check goes up


{% if form.url_up.errors %}
{{ form.url_up.errors|join:"" }}
{% endif %}
{% if form.headers_up.errors %} {{ form.headers_up.errors|join:"" }} {% else %} Optional "Header-Name: value" pairs, one pair per line. {% endif %}


{% endblock %} {% block scripts %} {% compress js %} {% endcompress %} {% endblock %}