This repository has been archived on 2024-05-31. You can view files and clone it, but cannot push or open issues or pull requests.
authentik/website/docs/events/transports.md

29 lines
833 B
Markdown
Raw Normal View History

---
title: Transports
---
2021-01-13 09:28:02 +00:00
Notifications can be sent to users via multiple mediums. By default, the [global email configuration](../installation/docker-compose#email-configuration-optional-but-recommended) will be used.
## Generic Webhook
This will send a POST request to the given URL with the following contents:
```json
{
"body": "body of the notification message",
"severity": "severity level as configured in the trigger",
"user_email": "user's email",
"user_username": "user's username",
}
```
2021-01-13 09:28:02 +00:00
The `Content-Type` header is set to `text/json`.
:::warning
This will send a request for each user of the group selected in the trigger.
:::
## Slack Webhook
2021-01-13 09:28:02 +00:00
This sends a request using the Slack-specific format. This is also compatible with Discord's webhooks by appending `/slack` to the Discord webhook URL.