29 lines
807 B
Markdown
29 lines
807 B
Markdown
|
---
|
||
|
title: Transports
|
||
|
---
|
||
|
|
||
|
Notifications can be sent to users via multiple mediums. Per 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",
|
||
|
}
|
||
|
```
|
||
|
|
||
|
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
|
||
|
|
||
|
This sends a request using the Slack-specific format. This is also compatible with Discord's Webhooks by appending `/slack`.
|