Notifications
qui sends notifications to the Notifiarr API and to Shoutrrr targets. Configure one or more targets in Settings → Notifications and select the events to send.
Setup
- Open Settings → Notifications.
- Add a target name and URL.
- Select the events to send.
- Save, then click Send test on the row of the target to send a test notification. On a phone, Send test is in the menu of the row.
Notes:
- If a qui update adds new events, existing targets keep their saved event list.
- A target that existed before the update does not get
system_notice. To get it, select it on the target. A target with no saved event list does not get it either. - qui truncates long messages to stay within provider limits.
- Discord and Notifiarr targets receive rich embeds with fields. Other services receive plain text.
Event types
| Event key | Description |
|---|---|
torrent_added | The client adds a torrent (includes tracker, category, tags, and ETA when available). |
torrent_completed | A torrent download completes (includes tracker, category, and tags when available). |
backup_succeeded | A backup run completes successfully. |
backup_failed | A backup run fails. |
dir_scan_completed | A directory scan run finishes. |
dir_scan_failed | A directory scan run fails. |
orphan_scan_completed | An orphan scan run completes (includes clean runs). |
orphan_scan_failed | An orphan scan run fails. |
cross_seed_automation_succeeded | RSS cross-seed automation completes (summary counts and samples). |
cross_seed_automation_failed | RSS cross-seed automation fails or completes with errors (summary). |
cross_seed_search_succeeded | A Library Scan run completes (summary counts and samples). A scheduled run sends it only when it adds a cross-seed, when a torrent fails, or when the run records an error, for example when qui could not load the Torznab indexers. |
cross_seed_search_failed | A Library Scan run fails or cancels (summary). qui also sends it one time when the Library Scan schedule cannot start a run for a cause that clears without you, for example when qBittorrent is offline. qui tries again every hour and does not send it again for each try. |
cross_seed_completion_succeeded | Completion search run completes (summary counts and samples). |
cross_seed_completion_failed | Completion search run fails. |
cross_seed_webhook_succeeded | Webhook apply adds one or more torrents. No-op checks and applies do not notify. |
cross_seed_webhook_failed | Webhook check or apply fails. |
automations_actions_applied | Automation rules apply actions (summary counts and samples, only if actions occur). |
automations_run_failed | Automation rules fail to run for an instance (system error). |
system_notice | A fault in qui needs an action from you. qui sends it one time when the notice opens, for example "Recording stopped" when qui cannot write the transfer history, "Shrink failed" when qui cannot shrink the database file, "Low disk" when the disk of the SQLite database has little free space, "Redacted rejected the API key" and "Orpheus rejected the API key" when a cross-seed search gets a refusal from that site, or "Library Scan schedule cannot run" when the saved Library settings make a scheduled run impossible. The message gives the cause and the fix. |
Notifiarr API
If you want output similar to Discord embeds, use the native Notifiarr API scheme:
notifiarrapi://apikey- Optional override:
notifiarrapi://apikey?endpoint=https://notifiarr.com/api/v1/notification/qui
Shoutrrr URLs
Use any Shoutrrr-supported URL scheme. Examples:
discord://token@channelnotifiarr://apikeyslack://token@channeltelegram://token@telegram?chats=chat-idgotify://host/token
Notifiarr also accepts optional parameters such as channel and name, for example notifiarr://apikey?name=qui&channel=123456789.
Services without a Shoutrrr scheme
If Shoutrrr has no scheme for your service, but the service accepts a JSON webhook, use the generic webhook service. This example is for a service that reads the message from a content field:
generic://chat.example.com/api/webhooks/<id>/<token>?template=json&messagekey=content
The generic service uses HTTPS. If the host uses plain HTTP, add disabletls=yes. To send a header, add @Header=value, for example @Authorization=Bearer%20token. For all options, see the generic service documentation.
See the Shoutrrr documentation for the full list of services and URL formats: https://github.com/nicholas-fedor/shoutrrr