Skip to main content

Overview

Notification endpoints allow you to configure alerts for backup, restore, and check operations using Apprise service URLs.

List Notification Settings

Get all configured notification settings. Endpoint: GET /api/notifications Example Request:
Response:
string
Apprise service URL (e.g., slack://token/channel, discord://webhook_id/token, json://webhook_url)
string
Optional prefix for notification titles (e.g., [Production])
boolean
Include job/schedule name in notification title
boolean
If true, applies to all repositories. If false, only monitors specific repositories

Get Notification Setting

Get details for a specific notification configuration. Endpoint: GET /api/notifications/{setting_id} Example Request:

Create Notification Setting

Create a new notification configuration. Endpoint: POST /api/notifications
string
required
User-friendly name for this notification setting
string
required
Apprise service URL. Examples:
  • Slack: slack://token/channel
  • Discord: discord://webhook_id/token
  • Email: mailto://user:password@domain.com
  • JSON Webhook: json://webhook_url or jsons://webhook_url (HTTPS)
  • See Apprise documentation for more
boolean
default:true
Whether this notification is enabled
string
Optional prefix for notification titles
boolean
default:false
Include job/schedule name in notification title
boolean
default:false
Send notification when backup starts
boolean
default:false
Send notification when backup succeeds
boolean
default:true
Send notification when backup fails
boolean
default:false
Send notification when restore succeeds
boolean
default:true
Send notification when restore fails
boolean
default:false
Send notification when repository check succeeds
boolean
default:true
Send notification when repository check fails
boolean
default:true
Send notification when scheduled job fails
boolean
default:true
Apply to all repositories. If false, specify repository_ids
array
List of repository IDs to monitor (only used if monitor_all_repositories is false)
Example Request:
Response:

Update Notification Setting

Update an existing notification configuration. Endpoint: PUT /api/notifications/{setting_id} Example Request:

Delete Notification Setting

Delete a notification configuration. Endpoint: DELETE /api/notifications/{setting_id} Example Request:
Response: 204 No Content

Test Notification

Test a notification service URL before saving. Endpoint: POST /api/notifications/test
string
required
Apprise service URL to test
Example Request:
Response:

Supported Services

Borg UI uses Apprise for notifications, supporting 80+ services:
  • Chat: Slack, Discord, Telegram, Microsoft Teams, Mattermost
  • Email: SMTP, Gmail, Outlook
  • SMS: Twilio, AWS SNS, Nexmo
  • Webhooks: JSON, XML, custom HTTP
  • Push: Pushover, Pushbullet, Notify, Apprise
See the Apprise documentation for complete service URL formats.

Example Service URLs

Slack

Discord

Email (Gmail)

JSON Webhook

HTTPS JSON Webhook