Skip to main content

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​

  1. Open Settings → Notifications.
  2. Add a target name and URL.
  3. Select the events to send.
  4. 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 keyDescription
torrent_addedThe client adds a torrent (includes tracker, category, tags, and ETA when available).
torrent_completedA torrent download completes (includes tracker, category, and tags when available).
backup_succeededA backup run completes successfully.
backup_failedA backup run fails.
dir_scan_completedA directory scan run finishes.
dir_scan_failedA directory scan run fails.
orphan_scan_completedAn orphan scan run completes (includes clean runs).
orphan_scan_failedAn orphan scan run fails.
cross_seed_automation_succeededRSS cross-seed automation completes (summary counts and samples).
cross_seed_automation_failedRSS cross-seed automation fails or completes with errors (summary).
cross_seed_search_succeededA 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_failedA 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_succeededCompletion search run completes (summary counts and samples).
cross_seed_completion_failedCompletion search run fails.
cross_seed_webhook_succeededWebhook apply adds one or more torrents. No-op checks and applies do not notify.
cross_seed_webhook_failedWebhook check or apply fails.
automations_actions_appliedAutomation rules apply actions (summary counts and samples, only if actions occur).
automations_run_failedAutomation rules fail to run for an instance (system error).
system_noticeA 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@channel
  • notifiarr://apikey
  • slack://token@channel
  • telegram://token@telegram?chats=chat-id
  • gotify://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