{% extends "base.html" %} {% block title %}Webhook: {{ subscription.subscription_name }} - LSMC Hub{% endblock %} {% block content %}
← Back to Webhooks

{{ subscription.subscription_name }}

{% if revision.is_active %} Active {% else %} Inactive {% endif %}
Edit

Webhook URL

{{ revision.url }}

Created

{{ subscription.created_at | format_dt(user_preferences) }}

Timeout

{{ revision.timeout_seconds }} seconds

Max Retries

{{ revision.max_retries }}

Event Types

{% for event_type in revision.event_types %} {{ event_type }} {% endfor %}
{% if revision.headers %}

Custom Headers

{{ revision.headers|tojson(indent=2) }}
{% endif %} {% if revision.note %}

Note

{{ revision.note }}

{% endif %}

Recent Delivery Logs

{% if delivery_logs %}
{% for log in delivery_logs %} {% endfor %}
Event Type Attempt Status Delivered At Error
{{ log.event_type }} {{ log.attempt_number }} {% if log.http_status %} {% if log.http_status >= 200 and log.http_status < 300 %} {{ log.http_status }} {% else %} {{ log.http_status }} {% endif %} {% else %} Failed {% endif %} {{ log.delivered_at | format_dt(user_preferences) }} {{ log.error_message[:50] if log.error_message else '-' }}
{% else %}

No delivery logs yet.

{% endif %}
{% endblock %}