diff --git a/authentik/events/api/notification_transport.py b/authentik/events/api/notification_transport.py index b36b2dd71..b20d0bd97 100644 --- a/authentik/events/api/notification_transport.py +++ b/authentik/events/api/notification_transport.py @@ -36,6 +36,7 @@ class NotificationTransportSerializer(ModelSerializer): "mode", "mode_verbose", "webhook_url", + "send_once", ] diff --git a/swagger.yaml b/swagger.yaml index 19efba957..e423dee30 100755 --- a/swagger.yaml +++ b/swagger.yaml @@ -15203,6 +15203,11 @@ definitions: webhook_url: title: Webhook url type: string + send_once: + title: Send once + description: Only send notification once, for example when sending a webhook + into a chat channel. + type: boolean NotificationTransportTest: description: Notification test serializer required: