Debian Codegraph @

README.md

raw
1 ![Apprise Logo](https://raw.githubusercontent.com/caronc/apprise/master/apprise/assets/themes/default/apprise-logo.png)
2
3 <hr/>
4
5 **ap·prise** / *verb*<br/>
6 To inform or tell (someone). To make one aware of something.
7 <hr/>
8
9 *Apprise* allows you to send a notification to *almost* all of the most popular *notification* services available to us today such as: Telegram, Discord, Slack, Amazon SNS, Gotify, etc.
10
11 * One notification library to rule them all.
12 * A common and intuitive notification syntax.
13 * Supports the handling of images and attachments (_to the notification services that will accept them_).
14 * It's incredibly lightweight.
15 * Amazing response times because all messages sent asynchronously.
16
17 Developers who wish to provide a notification service no longer need to research each and every one out there. They no longer need to try to adapt to the new ones that comeout thereafter. They just need to include this one library and then they can immediately gain access to almost all of the notifications services available to us today.
18
19 System Administrators and DevOps who wish to send a notification now no longer need to find the right tool for the job. Everything is already wrapped and supported within the `apprise` command line tool (CLI) that ships with this product.
20
21 [![Paypal](https://img.shields.io/badge/paypal-donate-green.svg)](https://www.paypal.com/donate/?hosted_button_id=CR6YF7KLQWQ5E)
22 [![Follow](https://img.shields.io/twitter/follow/l2gnux)](https://twitter.com/l2gnux/)<br/>
23 [![Discord](https://img.shields.io/discord/558793703356104724.svg?colorB=7289DA&label=Discord&logo=Discord&logoColor=7289DA&style=flat-square)](https://discord.gg/EGg4rhmpC2)
24 [![Python](https://img.shields.io/pypi/pyversions/apprise.svg?style=flat-square)](https://pypi.org/project/apprise/)
25 [![Build Status](https://github.com/caronc/apprise/actions/workflows/tests.yml/badge.svg)](https://github.com/caronc/apprise/actions/workflows/tests.yml)
26 [![Lines of Code](https://raw.githubusercontent.com/caronc/apprise/master/.github/badges/loc.svg)](https://github.com/caronc/apprise/actions/workflows/loc-badge.yml)
27 [![CodeCov Status](https://codecov.io/github/caronc/apprise/branch/master/graph/badge.svg)](https://codecov.io/github/caronc/apprise)
28 [![PyPi Downloads](https://img.shields.io/pepy/dt/apprise.svg?style=flat-square)](https://pypi.org/project/apprise/)
29
30 Visit the [Official Documentation](https://appriseit.com/getting-started/) site for more information on Apprise.
31
32 # How It Works
33
34 Apprise provides one consistent URL format and notification interface for your apps, automation, and infrastructure. Use the CLI or core library directly, or relay through Apprise API, to deliver notifications to a very [large amount of supported services](https://appriseit.com/services/).
35
36 [![Apprise overview showing notification sources, entry points, and supported destinations](Apprise-overview.png)](Apprise-overview.png)
37
38 # Table of Contents
39 <!--ts-->
40 * [Supported Notifications](#supported-notifications)
41 * [Productivity Based Notifications](#productivity-based-notifications)
42 * [SMS Notifications](#sms-notifications)
43 * [Desktop Notifications](#desktop-notifications)
44 * [Email Notifications](#email-notifications)
45 * [Custom Notifications](#custom-notifications)
46 * [Installation](#installation)
47 * [Command Line Usage](#command-line-usage)
48 * [Configuration Files](#cli-configuration-files)
49 * [File Attachments](#cli-file-attachments)
50 * [Loading Custom Notifications/Hooks](#cli-loading-custom-notificationshooks)
51 * [Environment Variables](#cli-environment-variables)
52 * [Developer API Usage](#developer-api-usage)
53 * [Configuration Files](#api-configuration-files)
54 * [File Attachments](#api-file-attachments)
55 * [Loading Custom Notifications/Hooks](#api-loading-custom-notificationshooks)
56 * [Persistent Storage](#persistent-storage)
57 * [More Supported Links and Documentation](#want-to-learn-more)
58 <!--te-->
59
60 # Supported Notifications
61
62 The section identifies all of the services supported by this library. [Check out the wiki for more information on the supported modules here](https://appriseit.com/).
63
64 ## Productivity Based Notifications
65
66 The table below identifies the services this tool supports and some example service URLs you need to use in order to take advantage of it. Click on any of the services listed below to get more details on how you can configure Apprise to access them. If you're having trouble constructing your own URL; try our [Apprise URL Builder](https://appriseit.com/tools/url-builder/) out.
67
68 | Notification Service | Service ID | Default Port | Example Syntax |
69 | -------------------- | ---------- | ------------ | -------------- |
70 | [Apprise API](https://appriseit.com/services/apprise_api/) | apprise:// or apprises:// | (TCP) 80 or 443 | apprise://hostname/Token<br/>apprise://:password@hostname/Token<br/>apprise://user:password@hostname/Token
71 | [AWS SES](https://appriseit.com/services/ses/) | ses:// | (TCP) 443 | ses://user@domain/AccessKeyID/AccessSecretKey/RegionName<br/>ses://user@domain/AccessKeyID/AccessSecretKey/RegionName/email1/email2/emailN
72 | [Bark](https://appriseit.com/services/bark/) | bark:// | (TCP) 80 or 443 | bark://hostname<br />bark://hostname/device_key<br />bark://hostname/device_key1/device_key2/device_keyN<br/>barks://hostname<br />barks://hostname/device_key<br />barks://hostname/device_key1/device_key2/device_keyN
73 | [Blink(1)](https://appriseit.com/services/blink1/) | blink1:// | USB | blink1://<br />blink1://serial/
74 | [BlueSky](https://appriseit.com/services/bluesky/) | bluesky:// | (TCP) 443 | bluesky://Handle:AppPw<br />bluesky://Handle:AppPw/TargetHandle<br />bluesky://Handle:AppPw/TargetHandle1/TargetHandle2/TargetHandleN
75 | [Brevo](https://appriseit.com/services/brevo/) | brevo:// | (TCP) 443 | brevo://APIToken:FromEmail/<br />brevo://APIToken:FromEmail/ToEmail<br />brevo://APIToken:FromEmail/ToEmail1/ToEmail2/ToEmailN/
76 | [Chanify](https://appriseit.com/services/chanify/) | chantify:// | (TCP) 443 | chantify://token
77 | [Amazon Chime](https://appriseit.com/services/chime/) | chime:// | (TCP) 443 | chime://WebhookID/Token
78 | [Delta Chat](https://appriseit.com/services/deltachat/) | deltachat:// or deltachats:// | (TCP) 25 or 587 | deltachat://user:[email protected]/[email protected]<br />deltachats://user:[email protected]/[email protected]/[email protected]
79 | [Discord](https://appriseit.com/services/discord/) | discord:// | (TCP) 443 | discord://webhook_id/webhook_token<br />discord://avatar@webhook_id/webhook_token
80 | [Dot.](https://appriseit.com/services/dot/) | dot:// | (TCP) 443 | dot://apikey@device_id/text/<br />dot://apikey@device_id/image/<br />**Note**: `device_id` is the Quote/0 hardware serial
81 | [Emby](https://appriseit.com/services/emby/) | emby:// or embys:// | (TCP) 8096 | emby://user@hostname/<br />emby://user:password@hostname
82 | [Enigma2](https://appriseit.com/services/enigma2/) | enigma2:// or enigma2s:// | (TCP) 80 or 443 | enigma2://hostname
83 | [Evolution API](https://appriseit.com/services/evolution/) | evolution:// or evolutions:// | (TCP) 80 or 443 | evolution://apikey@hostname/instance/ToPhoneNo<br/>evolution://apikey@hostname:port/instance/ToPhoneNo<br/>evolution://apikey@hostname/instance/ToPhoneNo1/ToPhoneNo2/ToPhoneNoN/
84 | [FCM](https://appriseit.com/services/fcm/) | fcm:// | (TCP) 443 | fcm://project@apikey/DEVICE_ID<br />fcm://project@apikey/#TOPIC<br/>fcm://project@apikey/DEVICE_ID1/#topic1/#topic2/DEVICE_ID2/
85 | [Feishu](https://appriseit.com/services/feishu/) | feishu:// | (TCP) 443 | feishu://token
86 | [Flock](https://appriseit.com/services/flock/) | flock:// | (TCP) 443 | flock://token<br/>flock://botname@token<br/>flock://app_token/u:userid<br/>flock://app_token/g:channel_id<br/>flock://app_token/u:userid/g:channel_id
87 | [Flowtriq](https://appriseit.com/services/flowtriq/) | flowtriq:// or flowtriqs:// | (TCP) 80 or 443 | flowtriq://apikey@hostname/webhook/path<br />flowtriqs://apikey@hostname/webhook/path
88 | [Google Chat](https://appriseit.com/services/googlechat/) | gchat:// | (TCP) 443 | gchat://workspace/key/token
89 | [Gotify](https://appriseit.com/services/gotify/) | gotify:// or gotifys:// | (TCP) 80 or 443 | gotify://hostname/token<br />gotifys://hostname/token?priority=high
90 | [GroupMe](https://appriseit.com/services/groupme/) | groupme:// | (TCP) 443 | groupme://bot_id<br />groupme://bot_id/access_token
91 | [Growl](https://appriseit.com/services/growl/) | growl:// | (UDP) 23053 | growl://hostname<br />growl://hostname:portno<br />growl://password@hostname<br />growl://password@hostname:port</br>**Note**: you can also use the get parameter _version_ which can allow the growl request to behave using the older v1.x protocol. An example would look like: growl://hostname?version=1
92 | [Guilded](https://appriseit.com/services/guilded/) | guilded:// | (TCP) 443 | guilded://webhook_id/webhook_token<br />guilded://avatar@webhook_id/webhook_token
93 | [Home Assistant](https://appriseit.com/services/homeassistant/) | hassio:// or hassios:// | (TCP) 8123 or 443 | hassio://hostname/accesstoken<br />hassio://user@hostname/accesstoken<br />hassio://user:password@hostname:port/accesstoken<br />hassio://hostname/optional/path/accesstoken
94 | [HumHub](https://appriseit.com/services/humhub/) | humhub:// or humhubs:// | (TCP) 80 or 443 | humhubs://token@hostname/container_id<br />humhubs://user:password@hostname/container_id<br />humhubs://token@hostname/id1/id2/id3
95 | [IFTTT](https://appriseit.com/services/ifttt/) | ifttt:// | (TCP) 443 | ifttt://webhooksID/Event<br />ifttt://webhooksID/Event1/Event2/EventN<br/>ifttt://webhooksID/Event1/?+Key=Value<br/>ifttt://webhooksID/Event1/?-Key=value1
96 | [IRC](https://appriseit.com/services/irc/) | irc:// or ircs:// | (TCP) 6667 or 6697 | ircs://user:[email protected]/@user<br /> ircs://user:[email protected]/#channel?join=true&mode=nickserv<br/>ircs://user:[email protected]/@user1/@user2/@user3/#channel1
97 | [Jellyfin](https://appriseit.com/services/jellyfin/) | jellyfin:// or jellyfins:// | (TCP) 8096 | jellyfin://user@hostname/<br />jellyfins://user:password@hostname
98 | [Jira](https://appriseit.com/services/jira/) | jira:// | (TCP) 443 | jira://APIKey<br/>jira://APIKey/@UserID<br/>jira://APIKey/#Team<br/>jira://APIKey/\*Schedule<br/>jira://APIKey/^Escalation
99 | [Join](https://appriseit.com/services/join/) | join:// | (TCP) 443 | join://apikey/device<br />join://apikey/device1/device2/deviceN/<br />join://apikey/group<br />join://apikey/groupA/groupB/groupN<br />join://apikey/DeviceA/groupA/groupN/DeviceN/
100 | [KODI](https://appriseit.com/services/kodi/) | kodi:// or kodis:// | (TCP) 8080 or 443 | kodi://hostname<br />kodi://user@hostname<br />kodi://user:password@hostname:port
101 | [Kook](https://appriseit.com/services/kook/) | kook:// | (TCP) 443 | kook://token/channel_id<br/>kook://token/channel1/channel2<br/>kook://token/@user_id<br/>kook://webhook_key?mode=webhook
102 | [Kumulos](https://appriseit.com/services/kumulos/) | kumulos:// | (TCP) 443 | kumulos://apikey/serverkey
103 | [LaMetric Time](https://appriseit.com/services/lametric/) | lametric:// | (TCP) 443 | lametric://apikey@device_ipaddr<br/>lametric://apikey@hostname:port<br/>lametric://client_id@client_secret
104 | [Lark](https://appriseit.com/services/lark/) | lark:// | (TCP) 443 | lark://BotToken
105 | [Lauther](https://appriseit.com/services/lauther/) | lauther:// | (TCP) 443 | lauther://Token
106 | [Line](https://appriseit.com/services/line/) | line:// | (TCP) 443 | line://Token@User<br/>line://Token/User1/User2/UserN
107 | [Mailgun](https://appriseit.com/services/mailgun/) | mailgun:// | (TCP) 443 | mailgun://user@hostname/apikey<br />mailgun://user@hostname/apikey/email<br />mailgun://user@hostname/apikey/email1/email2/emailN<br />mailgun://user@hostname/apikey/?name="From%20User"
108 | [MailerSend](https://appriseit.com/services/mailersend/) | mailersend:// | (TCP) 443 | mailersend://APIToken:FromEmail/<br />mailersend://APIToken:FromEmail/ToEmail<br />mailersend://APIToken:FromEmail/ToEmail1/ToEmail2/ToEmailN/
109 | [Mastodon](https://appriseit.com/services/mastodon/) | mastodon:// or mastodons://| (TCP) 80 or 443 | mastodon://access_key@hostname<br />mastodon://access_key@hostname/@user<br />mastodon://access_key@hostname/@user1/@user2/@userN
110 | [Matrix](https://appriseit.com/services/matrix/) | matrix:// or matrixs:// | (TCP) 80 or 443 | matrix://hostname<br />matrix://user@hostname<br />matrixs://user:pass@hostname:port/#room_alias<br />matrixs://user:pass@hostname:port/!room_id<br />matrixs://user:pass@hostname:port/#room_alias/!room_id/#room2<br />matrixs://token@hostname:port/?webhook=matrix<br />matrix://user:token@hostname/?webhook=slack&format=markdown
111 | [Mattermost](https://appriseit.com/services/mattermost/) | mmost:// or mmosts:// | (TCP) 8065 | mmost://hostname/authkey<br />mmost://hostname:80/authkey<br />mmost://user@hostname:80/authkey<br />mmost://hostname/authkey?channel=channel<br />mmosts://hostname/authkey<br />mmosts://user@hostname/authkey<br />
112 | [Microsoft Power Automate / Workflows (MSTeams)](https://appriseit.com/services/workflows/) | workflows:// | (TCP) 443 | workflows://WorkflowID/Signature/
113 | [Misskey](https://appriseit.com/services/misskey/) | misskey:// or misskeys://| (TCP) 80 or 443 | misskey://access_token@hostname
114 | [MQTT](https://appriseit.com/services/mqtt/) | mqtt:// or mqtts:// | (TCP) 1883 or 8883 | mqtt://hostname/topic<br />mqtt://user@hostname/topic<br />mqtts://user:pass@hostname:9883/topic
115 | [Nextcloud](https://appriseit.com/services/nextcloud/) | ncloud:// or nclouds:// | (TCP) 80 or 443 | ncloud://adminuser:pass@host/User<br/>nclouds://adminuser:pass@host/User1/User2/UserN
116 | [NextcloudTalk](https://appriseit.com/services/nextcloudtalk/) | nctalk:// or nctalks:// | (TCP) 80 or 443 | nctalk://user:pass@host/RoomId<br/>nctalks://user:pass@host/RoomId1/RoomId2/RoomIdN
117 | [Notica](https://appriseit.com/services/notica/) | notica:// | (TCP) 443 | notica://Token/
118 | [Notifiarr](https://appriseit.com/services/notifiarr/) | notifiarr:// | (TCP) 443 | notifiarr://apikey/#channel<br />notifiarr://apikey/#channel1/#channel2/#channeln
119 | [Notifico](https://appriseit.com/services/notifico/) | notifico:// or notificos:// | (TCP) 80 or 443 | notifico://ProjectID/MessageHook/<br />notifico://host/ProjectID/MessageHook/<br />notificos://host/ProjectID/MessageHook/
120 | [ntfy](https://appriseit.com/services/ntfy/) | ntfy:// | (TCP) 80 or 443 | ntfy://topic/<br/>ntfys://topic/
121 | [Octopush](https://appriseit.com/services/octopush/) | octopush:// | (TCP) 443 | octopush://APILogin/APIKey/TargetPhoneNo<br />octopush://Sender:APILogin/APIKey/TargetPhoneNo<br />octopush://Sender:APILogin/APIKey/TargetPhoneNo1/TargetPhoneNo2/TargetPhoneNoN
122 | [Office 365](https://appriseit.com/services/office365/) | o365:// | (TCP) 443 | o365://TenantID:AccountEmail/ClientID/ClientSecret<br />o365://TenantID:AccountEmail/ClientID/ClientSecret/TargetEmail<br />o365://TenantID:AccountEmail/ClientID/ClientSecret/TargetEmail1/TargetEmail2/TargetEmailN
123 | [OneSignal](https://appriseit.com/services/onesignal/) | onesignal:// | (TCP) 443 | onesignal://AppID@APIKey/PlayerID<br/>onesignal://TemplateID:AppID@APIKey/UserID<br/>onesignal://AppID@APIKey/#IncludeSegment<br/>onesignal://AppID@APIKey/Email
124 | [Opsgenie](https://appriseit.com/services/opsgenie/) | opsgenie:// | (TCP) 443 | opsgenie://APIKey<br/>opsgenie://APIKey/UserID<br/>opsgenie://APIKey/#Team<br/>opsgenie://APIKey/\*Schedule<br/>opsgenie://APIKey/^Escalation
125 | [PagerDuty](https://appriseit.com/services/pagerduty/) | pagerduty:// | (TCP) 443 | pagerduty://IntegrationKey@ApiKey<br/>pagerduty://IntegrationKey@ApiKey/Source/Component
126 | [PagerTree](https://appriseit.com/services/pagertree/) | pagertree:// | (TCP) 443 | pagertree://integration_id
127 | [ParsePlatform](https://appriseit.com/services/parseplatform/) | parsep:// or parseps:// | (TCP) 80 or 443 | parsep://AppID:MasterKey@Hostname<br/>parseps://AppID:MasterKey@Hostname
128 | [Pingram](https://appriseit.com/services/pingram/) | pingram:// | (TCP) 443 | pingram://ApiKey/Target<br />pingram://ApiKey/Target1/Target2/TargetN<br />pingram://MessageType@ApiKey/Target
129 | [Pinglet](https://appriseit.com/services/pinglet/) | pinglet:// or pinglets:// | (TCP) 80 or 443 | pinglets://apikey@hostname/namespace/topic<br/>pinglets://apikey@hostname:port/namespace/topic
130 | [Postmark](https://appriseit.com/services/postmark/) | postmark:// | (TCP) 443 | postmark://APIToken:FromEmail/<br />postmark://APIToken:FromEmail/ToEmail<br />postmark://APIToken:FromEmail/ToEmail1/ToEmail2/ToEmailN/
131 | [Prowl](https://appriseit.com/services/prowl/) | prowl:// | (TCP) 443 | prowl://apikey<br />prowl://apikey/providerkey
132 | [PushBullet](https://appriseit.com/services/pushbullet/) | pbul:// | (TCP) 443 | pbul://accesstoken<br />pbul://accesstoken/#channel<br/>pbul://accesstoken/A_DEVICE_ID<br />pbul://accesstoken/[email protected]<br />pbul://accesstoken/#channel/#channel2/[email protected]/DEVICE
133 | [Pushjet](https://appriseit.com/services/pushjet/) | pjet:// or pjets:// | (TCP) 80 or 443 | pjet://hostname/secret<br />pjet://hostname:port/secret<br />pjets://secret@hostname/secret<br />pjets://hostname:port/secret
134 | [Push (Techulus)](https://appriseit.com/services/techulus/) | push:// | (TCP) 443 | push://apikey/
135 | [Pushed](https://appriseit.com/services/pushed/) | pushed:// | (TCP) 443 | pushed://appkey/appsecret/<br/>pushed://appkey/appsecret/#ChannelAlias<br/>pushed://appkey/appsecret/#ChannelAlias1/#ChannelAlias2/#ChannelAliasN<br/>pushed://appkey/appsecret/@UserPushedID<br/>pushed://appkey/appsecret/@UserPushedID1/@UserPushedID2/@UserPushedIDN
136 | [PushMe](https://appriseit.com/services/pushme/) | pushme:// | (TCP) 443 | pushme://Token/
137 | [Pushover](https://appriseit.com/services/pushover/) | pover:// | (TCP) 443 | pover://user@token<br />pover://user@token/DEVICE<br />pover://user@token/DEVICE1/DEVICE2/DEVICEN<br />**Note**: you must specify both your user_id and token
138 | [Pushplus](https://appriseit.com/services/pushplus/) | pushplus:// | (TCP) 443 | pushplus://Token
139 | [PushSafer](https://appriseit.com/services/pushsafer/) | psafer:// or psafers:// | (TCP) 80 or 443 | psafer://privatekey<br />psafers://privatekey/DEVICE<br />psafer://privatekey/DEVICE1/DEVICE2/DEVICEN
140 | [PushWard](https://appriseit.com/services/pushward/) | pushward:// | (TCP) 443 | pushward://hlk_apikey<br />pushward://hlk_apikey?level=critical&volume=0.8
141 | [Pushy](https://appriseit.com/services/pushy/) | pushy:// | (TCP) 443 | pushy://apikey/DEVICE<br />pushy://apikey/DEVICE1/DEVICE2/DEVICEN<br />pushy://apikey/TOPIC<br />pushy://apikey/TOPIC1/TOPIC2/TOPICN
142 | [PushDeer](https://appriseit.com/services/pushdeer/) | pushdeer:// or pushdeers:// | (TCP) 80 or 443 | pushdeer://pushKey<br />pushdeer://hostname/pushKey<br />pushdeer://hostname:port/pushKey
143 | [QQ Push](https://appriseit.com/services/qq/) | qq:// | (TCP) 443 | qq://Token
144 | [Reddit](https://appriseit.com/services/reddit/) | reddit:// | (TCP) 443 | reddit://user:password@app_id/app_secret/subreddit<br />reddit://user:password@app_id/app_secret/sub1/sub2/subN
145 | [Resend](https://appriseit.com/services/resend/) | resend:// | (TCP) 443 | resend://APIToken:FromEmail/<br />resend://APIToken:FromEmail/ToEmail<br />resend://APIToken:FromEmail/ToEmail1/ToEmail2/ToEmailN/
146 | [Revolt](https://appriseit.com/services/revolt/) | revolt:// | (TCP) 443 | revolt://bottoken/ChannelID<br />revolt://bottoken/ChannelID1/ChannelID2/ChannelIDN |
147 | [Rocket.Chat](https://appriseit.com/services/rocketchat/) | rocket:// or rockets:// | (TCP) 80 or 443 | rocket://user:password@hostname/RoomID/Channel<br />rockets://user:password@hostname:443/#Channel1/#Channel1/RoomID<br />rocket://user:password@hostname/#Channel<br />rocket://webhook@hostname<br />rockets://webhook@hostname/@User/#Channel
148 | [RSyslog](https://appriseit.com/services/rsyslog/) | rsyslog:// | (UDP) 514 | rsyslog://hostname<br />rsyslog://hostname/Facility
149 | [Ryver](https://appriseit.com/services/ryver/) | ryver:// | (TCP) 443 | ryver://Organization/Token<br />ryver://botname@Organization/Token
150 | [SendGrid](https://appriseit.com/services/sendgrid/) | sendgrid:// | (TCP) 443 | sendgrid://APIToken:FromEmail/<br />sendgrid://APIToken:FromEmail/ToEmail<br />sendgrid://APIToken:FromEmail/ToEmail1/ToEmail2/ToEmailN/
151 | [SendPulse](https://appriseit.com/services/sendpulse/) | sendpulse:// | (TCP) 443 | sendpulse://user@host/ClientId/ClientSecret<br />sendpulse://user@host/ClientId/clientSecret/ToEmail<br />sendpulse://user@host/ClientId/ClientSecret/ToEmail1/ToEmail2/ToEmailN/
152 | [ServerChan](https://appriseit.com/services/serverchan/) | schan:// | (TCP) 443 | schan://sendkey/
153 | [Session Open Group Server](https://appriseit.com/services/sogs/) | session:// or sessions:// | (TCP) 80 or 443 | sessions://public_key:seed@hostname/room<br />sessions://public_key:seed@hostname/room1/room2<br />sessions://public_key:seed@hostname:port/room<br />session://public_key:seed@hostname/room
154 | [Signal API](https://appriseit.com/services/signal/) | signal:// or signals:// | (TCP) 80 or 443 | signal://hostname:port/FromPhoneNo<br/>signal://hostname:port/FromPhoneNo/ToPhoneNo<br/>signal://hostname:port/FromPhoneNo/ToPhoneNo1/ToPhoneNo2/ToPhoneNoN/
155 | [Signalgrid](https://appriseit.com/services/signalgrid/) | signalgrid:// | (TCP) 443 | signalgrid://CLIENT_KEY/CHANNEL<br />signalgrid://CLIENT_KEY/CHANNEL1/CHANNEL2<br />signalgrid://CLIENT_KEY/CHANNEL?critical=true
156 | [SIGNL4](https://appriseit.com/services/signl4/) | signl4:// | (TCP) 80 or 443 | signl4://hostname
157 | [SimplePush](https://appriseit.com/services/simplepush/) | spush:// | (TCP) 443 | spush://apikey<br />spush://salt:password@apikey<br />spush://apikey?event=Apprise
158 | [Slack](https://appriseit.com/services/slack/) | slack:// | (TCP) 443 | slack://TokenA/TokenB/TokenC/<br />slack://TokenA/TokenB/TokenC/Channel<br />slack://botname@TokenA/TokenB/TokenC/Channel<br />slack://user@TokenA/TokenB/TokenC/Channel1/Channel2/ChannelN
159 | [SMTP2Go](https://appriseit.com/services/smtp2go/) | smtp2go:// | (TCP) 443 | smtp2go://user@hostname/apikey<br />smtp2go://user@hostname/apikey/email<br />smtp2go://user@hostname/apikey/email1/email2/emailN<br />smtp2go://user@hostname/apikey/?name="From%20User"
160 | [SparkPost](https://appriseit.com/services/sparkpost/) | sparkpost:// | (TCP) 443 | sparkpost://user@hostname/apikey<br />sparkpost://user@hostname/apikey/email<br />sparkpost://user@hostname/apikey/email1/email2/emailN<br />sparkpost://user@hostname/apikey/?name="From%20User"
161 | [Spike.sh](https://appriseit.com/services/spike/) | spike:// | (TCP) 443 | spike://Token
162 | [Splunk](https://appriseit.com/services/splunk/) | splunk:// or victorops:/ | (TCP) 443 | splunk://route_key@apikey<br />splunk://route_key@apikey/entity_id
163 | [Spug Push](https://appriseit.com/services/spugpush/) | spugpush:// | (TCP) 443 | spugpush://Token
164 | [Stackfield](https://appriseit.com/services/stackfield/) | stackfield:// | (TCP) 443 | stackfield://WebhookToken
165 | [Streamlabs](https://appriseit.com/services/streamlabs/) | strmlabs:// | (TCP) 443 | strmlabs://AccessToken/<br/>strmlabs://AccessToken/?name=name&identifier=identifier&amount=0&currency=USD
166 | [Synology Chat](https://appriseit.com/services/synology_chat/) | synology:// or synologys:// | (TCP) 80 or 443 | synology://hostname/token<br />synology://hostname:port/token
167 | [Syslog](https://appriseit.com/services/syslog/) | syslog:// | n/a | syslog://<br />syslog://Facility
168 | [Telegram](https://appriseit.com/services/telegram/) | tgram:// | (TCP) 443 | tgram://bottoken/ChatID<br />tgram://bottoken/ChatID1/ChatID2/ChatIDN
169 | [Twitter](https://appriseit.com/services/twitter/) | twitter:// | (TCP) 443 | twitter://CKey/CSecret/AKey/ASecret<br/>twitter://user@CKey/CSecret/AKey/ASecret<br/>twitter://CKey/CSecret/AKey/ASecret/User1/User2/User2<br/>twitter://CKey/CSecret/AKey/ASecret?mode=tweet
170 | [Twist](https://appriseit.com/services/twist/) | twist:// | (TCP) 443 | twist://pasword:login<br/>twist://password:login/#channel<br/>twist://password:login/#team:channel<br/>twist://password:login/#team:channel1/channel2/#team3:channel
171 | [Vapid (WebPush)](https://appriseit.com/services/vapid/) | vapid:// | (TCP) 443 | vapid://subscriber/target<br/>vapid://subscriber/target?subfile=path&keyfile=path
172 | [Viber](https://appriseit.com/services/viber/) | viber:// | (TCP) 443 | viber://token/target
173 | [Webex Teams (Cisco)](https://appriseit.com/services/wxteams/) | wxteams:// | (TCP) 443 | wxteams://Token
174 | [WeChat (WeCom)](https://appriseit.com/services/wechat/) | wechat:// | (TCP) 443 | wechat://CorpID:AppSecret@AgentID/@all<br/>wechat://CorpID:AppSecret@AgentID/UserID
175 | [WeCom Bot](https://appriseit.com/services/wecombot/) | wecombot:// | (TCP) 443 | wecombot://BotKey
176 | [WhatsApp](https://appriseit.com/services/whatsapp/) | whatsapp:// | (TCP) 443 | whatsapp://AccessToken@FromPhoneID/ToPhoneNo<br/>whatsapp://Template:AccessToken@FromPhoneID/ToPhoneNo
177 | [WPUSH](https://appriseit.com/services/wpush/) | wpush:// | (TCP) 443 | wpush://APIKey<br/>wpush://APIKey/Topic1/Topic2/TopicN
178 | [WxPusher](https://appriseit.com/services/wxpusher/) | wxpusher:// | (TCP) 443 | wxpusher://AppToken@UserID1/UserID2/UserIDN<br/>wxpusher://AppToken@Topic1/Topic2/Topic3<br/>wxpusher://AppToken@UserID1/Topic1/
179 | [XBMC](https://appriseit.com/services/xbmc/) | xbmc:// or xbmcs:// | (TCP) 8080 or 443 | xbmc://hostname<br />xbmc://user@hostname<br />xbmc://user:password@hostname:port
180 | [XMPP](https://appriseit.com/services/xmpp/) | xmpp:// or xmpps:// | (TCP) 5222 or 5223 | xmpp://user:pass@hostname<br />xmpps://user:pass@hostname/jid<br />xmpps://user:pass@hostname/jid1/[email protected]
181 | [YouLMK](https://appriseit.com/services/youlmk/) | youlmk:// | (TCP) 443 | youlmk://ylk_token<br/>youlmk://k_key<br/>youlmk://ylk_token?priority=critical<br/>youlmk://ylk_token?failure=critical&url=https://example.com/runs/1
182 | [Zoom](https://appriseit.com/services/zoom/) | zoom:// | (TCP) 443 | zoom://WebhookID/Token
183 | [Zulip Chat](https://appriseit.com/services/zulip/) | zulip:// | (TCP) 443 | zulip://botname@Organization/Token<br />zulip://botname@Organization/Token/Stream<br />zulip://botname@Organization/Token/Email
184
185 ## SMS Notifications
186
187 SMS Notifications for the most part do not have a both a `title` and `body`. They consist of a single `body` which is usually no more then 160 characters in length. When using Apprise, the `title` and `body` are therefore combined into a single message prior to their transmission.
188
189 | Notification Service | Service ID | Default Port | Example Syntax |
190 | -------------------- | ---------- | ------------ | -------------- |
191 | [46elks](https://appriseit.com/services/46elks/) | 46elks:// | (TCP) 443 | 46elks://user:password@FromPhoneNo<br/>46elks://user:password@FromPhoneNo/ToPhoneNo<br/>46elks://user:password@FromPhoneNo/ToPhoneNo1/ToPhoneNo2/ToPhoneNoN/
192 | [800.com](https://appriseit.com/services/eight00com/) | eight00com:// | (TCP) 443 | eight00com://Token@FromPhoneNo<br/>eight00com://Token@FromPhoneNo/ToPhoneNo<br/>eight00com://Token@FromPhoneNo/ToPhoneNo1/ToPhoneNo2/ToPhoneNoN/
193 | [Africas Talking](https://appriseit.com/services/africas_talking/) | atalk:// | (TCP) 443 | atalk://AppUser@ApiKey/ToPhoneNo<br/>atalk://AppUser@ApiKey/ToPhoneNo1/ToPhoneNo2/ToPhoneNoN/
194 | [Automated Packet Reporting System (APRS)](https://appriseit.com/services/aprs/) | aprs:// | (TCP) 10152 | aprs://user:pass@callsign<br/>aprs://user:pass@callsign1/callsign2/callsignN
195 | [AWS SNS](https://appriseit.com/services/sns/) | sns:// | (TCP) 443 | sns://AccessKeyID/AccessSecretKey/RegionName/+PhoneNo<br/>sns://AccessKeyID/AccessSecretKey/RegionName/+PhoneNo1/+PhoneNo2/+PhoneNoN<br/>sns://AccessKeyID/AccessSecretKey/RegionName/Topic<br/>sns://AccessKeyID/AccessSecretKey/RegionName/Topic1/Topic2/TopicN
196 | [BulkSMS](https://appriseit.com/services/bulksms/) | bulksms:// | (TCP) 443 | bulksms://user:password@ToPhoneNo<br/>bulksms://User:Password@ToPhoneNo1/ToPhoneNo2/ToPhoneNoN/
197 | [BulkVS](https://appriseit.com/services/bulkvs/) | bulkvs:// | (TCP) 443 | bulkvs://user:password@FromPhoneNo<br/>bulkvs://user:password@FromPhoneNo/ToPhoneNo<br/>bulkvs://user:password@FromPhoneNo/ToPhoneNo1/ToPhoneNo2/ToPhoneNoN/
198 | [Burst SMS](https://appriseit.com/services/burstsms/) | burstsms:// | (TCP) 443 | burstsms://ApiKey:ApiSecret@FromPhoneNo/ToPhoneNo<br/>burstsms://ApiKey:ApiSecret@FromPhoneNo/ToPhoneNo1/ToPhoneNo2/ToPhoneNoN/
199 | [Clickatell](https://appriseit.com/services/clickatell/) | clickatell:// | (TCP) 443 | clickatell://ApiKey/ToPhoneNo<br/>clickatell://FromPhoneNo@ApiKey/ToPhoneNo1/ToPhoneNo2/ToPhoneNoN
200 | [ClickSend](https://appriseit.com/services/clicksend/) | clicksend:// | (TCP) 443 | clicksend://user:pass@PhoneNo<br/>clicksend://user:pass@ToPhoneNo1/ToPhoneNo2/ToPhoneNoN
201 | [DAPNET](https://appriseit.com/services/dapnet/) | dapnet:// | (TCP) 80 | dapnet://user:pass@callsign<br/>dapnet://user:pass@callsign1/callsign2/callsignN
202 | [D7 Networks](https://appriseit.com/services/d7networks/) | d7sms:// | (TCP) 443 | d7sms://token@PhoneNo<br/>d7sms://token@ToPhoneNo1/ToPhoneNo2/ToPhoneNoN
203 | [DingTalk](https://appriseit.com/services/dingtalk/) | dingtalk:// | (TCP) 443 | dingtalk://token/<br />dingtalk://token/ToPhoneNo<br />dingtalk://token/ToPhoneNo1/ToPhoneNo2/ToPhoneNo1/
204 | [Exotel](https://appriseit.com/services/exotel/) | exotel:// | (TCP) 443 | exotel://sid:token@FromPhoneNo<br/>exotel://sid:token@FromPhoneNo/ToPhoneNo<br/>exotel://sid:token@FromPhoneNo/ToPhoneNo1/ToPhoneNo2/ToPhoneNoN
205 | [Free-Mobile](https://appriseit.com/services/freemobile/) | freemobile:// | (TCP) 443 | freemobile://user@password/
206 | [httpSMS](https://appriseit.com/services/httpsms/) | httpsms:// | (TCP) 443 | httpsms://ApiKey@FromPhoneNo<br/>httpsms://ApiKey@FromPhoneNo/ToPhoneNo<br/>httpsms://ApiKey@FromPhoneNo/ToPhoneNo1/ToPhoneNo2/ToPhoneNoN/
207 | [Kavenegar](https://appriseit.com/services/kavenegar/) | kavenegar:// | (TCP) 443 | kavenegar://ApiKey/ToPhoneNo<br/>kavenegar://FromPhoneNo@ApiKey/ToPhoneNo<br/>kavenegar://ApiKey/ToPhoneNo1/ToPhoneNo2/ToPhoneNoN
208 | [MessageBird](https://appriseit.com/services/messagebird/) | msgbird:// | (TCP) 443 | msgbird://ApiKey/FromPhoneNo<br/>msgbird://ApiKey/FromPhoneNo/ToPhoneNo<br/>msgbird://ApiKey/FromPhoneNo/ToPhoneNo1/ToPhoneNo2/ToPhoneNoN/
209 | [Mobile Message](https://appriseit.com/services/mobilemessage/) | mobilemessage:// or mobilemsg:// | (TCP) 443 | mobilemessage://ApiUser:ApiPass@SenderID/ToPhoneNo<br/>mobilemessage://ApiUser:ApiPass@SenderID/ToPhoneNo1/ToPhoneNo2/ToPhoneNoN/
210 | [MSG91](https://appriseit.com/services/msg91/) | msg91:// | (TCP) 443 | msg91://TemplateID@AuthKey/ToPhoneNo<br/>msg91://TemplateID@AuthKey/ToPhoneNo1/ToPhoneNo2/ToPhoneNoN/
211 | [Plivo](https://appriseit.com/services/plivo/) | plivo:// | (TCP) 443 | plivo://AuthID@Token@FromPhoneNo<br/>plivo://AuthID@Token/FromPhoneNo/ToPhoneNo<br/>plivo://AuthID@Token/FromPhoneNo/ToPhoneNo1/ToPhoneNo2/ToPhoneNoN/
212 | [RingCentral](https://appriseit.com/services/ringcentral/) | ringc:// | (TCP) 443 | ringc://SourcePhoneNo:Password@ClientID/ClientSecret<br/>ringc://SourcePhoneNo:JWTToken@ClientID/ClientSecret/ToPhoneNo<br/>ringc://SourcePhoneNo:JWTToken@ClientID/ClientSecret/ToPhoneNo1/ToPhoneNo2/ToPhoneNoN/
213 | [SerwerSMS](https://appriseit.com/services/serwersms/) | serwersms:// | (TCP) 443 | serwersms://user:password@SenderName/+ToPhoneNo<br/>serwersms://user:password@SenderName/+ToPhoneNo1/+ToPhoneNo2<br/>serwersms://user:password@SenderName/%23GroupID
214 | [Seven](https://appriseit.com/services/seven/) | seven:// | (TCP) 443 | seven://ApiKey/FromPhoneNo<br/>seven://ApiKey/FromPhoneNo/ToPhoneNo<br/>seven://ApiKey/FromPhoneNo/ToPhoneNo1/ToPhoneNo2/ToPhoneNoN/
215 | [Société Française du Radiotéléphone (SFR)](https://appriseit.com/services/sfr/) | sfr:// | (TCP) 443 | sfr://user:password>@spaceId/ToPhoneNo<br/>sfr://user:password>@spaceId/ToPhoneNo1/ToPhoneNo2/ToPhoneNoN/
216 | [Signal API](https://appriseit.com/services/signal/) | signal:// or signals:// | (TCP) 80 or 443 | signal://hostname:port/FromPhoneNo<br/>signal://hostname:port/FromPhoneNo/ToPhoneNo<br/>signal://hostname:port/FromPhoneNo/ToPhoneNo1/ToPhoneNo2/ToPhoneNoN/
217 | [Sinch](https://appriseit.com/services/sinch/) | sinch:// | (TCP) 443 | sinch://ServicePlanId:ApiToken@FromPhoneNo<br/>sinch://ServicePlanId:ApiToken@FromPhoneNo/ToPhoneNo<br/>sinch://ServicePlanId:ApiToken@FromPhoneNo/ToPhoneNo1/ToPhoneNo2/ToPhoneNoN/<br/>sinch://ServicePlanId:ApiToken@ShortCode/ToPhoneNo<br/>sinch://ServicePlanId:ApiToken@ShortCode/ToPhoneNo1/ToPhoneNo2/ToPhoneNoN/
218 | [SMPP](https://appriseit.com/services/smpp/) | smpp:// or smpps:// | (TCP) 443 | smpp://user:password@hostname:port/FromPhoneNo/ToPhoneNo<br/>smpps://user:password@hostname:port/FromPhoneNo/ToPhoneNo1/ToPhoneNo2/ToPhoneNoN
219 | [SMSEagle](https://appriseit.com/services/smseagle/) | smseagle:// or smseagles:// | (TCP) 80 or 443 | smseagles://hostname:port/ToPhoneNo<br/>smseagles://hostname:port/@ToContact<br/>smseagles://hostname:port/#ToGroup<br/>smseagles://hostname:port/ToPhoneNo1/#ToGroup/@ToContact/
220 | [SMS Manager](https://appriseit.com/services/sms_manager/) | smsmgr:// | (TCP) 443 | smsmgr://ApiKey@ToPhoneNo<br/>smsmgr://ApiKey@ToPhoneNo1/ToPhoneNo2/ToPhoneNoN/
221 | [SMSC](https://appriseit.com/services/smsc/) | smsc:// | (TCP) 443 | smsc://login:password@ToPhoneNo<br/>smsc://login:password@ToPhoneNo1/ToPhoneNo2/ToPhoneNoN/
222 | [Telnyx](https://appriseit.com/services/telnyx/) | telnyx:// | (TCP) 443 | telnyx://ApiKey@FromPhoneNo<br/>telnyx://ApiKey@FromPhoneNo/ToPhoneNo<br/>telnyx://ApiKey@FromPhoneNo/ToPhoneNo1/ToPhoneNo2/ToPhoneNoN/<br/>telnyx://ApiKey@FromPhoneNo/ToPhoneNo?profile=MessagingProfileID
223 | [Threema Gateway](https://appriseit.com/services/threema/) | threema:// | (TCP) 443 | threema://GatewayID@secret/ToPhoneNo<br/>threema://GatewayID@secret/ToEmail<br/>threema://GatewayID@secret/ToThreemaID/<br/>threema://GatewayID@secret/ToEmail/ToThreemaID/ToPhoneNo/...
224 | [Trigv](https://trigv.com/) | trigv:// or trigvs:// | (TCP) 80 or 443 | trigvs://APIKey<br/>trigvs://APIKey/channel<br/>trigv://APIKey@hostname/channel
225 | [Notifyre](https://appriseit.com/services/notifyre/) | notifyre:// | (TCP) 443 | notifyre://ApiKey/ToPhoneNo<br/>notifyre://ApiKey/ToPhoneNo1/ToPhoneNo2/ToPhoneNoN<br/>notifyre://ApiKey/ToFaxNo?mode=fax<br/>notifyre://ApiKey/ToFaxNo?mode=fax&from=+FromNo
226 | [Twilio](https://appriseit.com/services/twilio/) | twilio:// | (TCP) 443 | twilio://AccountSid:AuthToken@FromPhoneNo<br/>twilio://AccountSid:AuthToken@FromPhoneNo/ToPhoneNo<br/>twilio://AccountSid:AuthToken@FromPhoneNo/ToPhoneNo1/ToPhoneNo2/ToPhoneNoN/<br/>twilio://AccountSid:AuthToken@FromPhoneNo/ToPhoneNo?apikey=Key<br/>twilio://AccountSid:AuthToken@ShortCode/ToPhoneNo<br/>twilio://AccountSid:AuthToken@ShortCode/ToPhoneNo1/ToPhoneNo2/ToPhoneNoN/<br/>twilio://AccountSid:AuthToken@FromPhoneNo/ToPhoneNo?method=call<br/>twilio://AccountSid:AuthToken@FromPhoneNo/ToPhoneNo1/ToPhoneNo2/ToPhoneNoN?method=call
227 | [Voipms](https://appriseit.com/services/voipms/) | voipms:// | (TCP) 443 | voipms://password:email/FromPhoneNo<br/>voipms://password:email/FromPhoneNo/ToPhoneNo<br/>voipms://password:email/FromPhoneNo/ToPhoneNo1/ToPhoneNo2/ToPhoneNoN/
228 | [Vonage](https://appriseit.com/services/vonage/) (formerly Nexmo) | vonage:// | (TCP) 443 | vonage://ApiKey:ApiSecret@FromPhoneNo<br/>vonage://ApiKey:ApiSecret@FromPhoneNo/ToPhoneNo<br/>vonage://ApiKey:ApiSecret@FromPhoneNo/ToPhoneNo1/ToPhoneNo2/ToPhoneNoN/
229
230 ## Desktop Notifications
231
232 | Notification Service | Service ID | Default Port | Example Syntax |
233 | -------------------- | ---------- | ------------ | -------------- |
234 | [Linux DBus Notifications](https://appriseit.com/services/dbus/) | dbus://<br />qt://<br />glib://<br />kde:// | n/a | dbus://<br />qt://<br />glib://<br />kde://
235 | [Linux Gnome Notifications](https://appriseit.com/services/gnome/) | gnome:// | n/a | gnome://
236 | [MacOS X Notifications](https://appriseit.com/services/macosx/) | macosx:// | n/a | macosx://
237 | [Windows Notifications](https://appriseit.com/services/windows/) | windows:// | n/a | windows://
238
239 ## Email Notifications
240
241 | Service ID | Default Port | Example Syntax |
242 | ---------- | ------------ | -------------- |
243 | [mailto://](https://appriseit.com/services/email/) | (TCP) 25 | mailto://userid:[email protected]<br />mailto://domain.com?user=userid&pass=password<br/>mailto://domain.com:2525?user=userid&pass=password<br />mailto://[email protected]&pass=password<br />mailto://mySendingUsername:[email protected][email protected]<br />mailto://userid:[email protected]?smtp=mail.example.com&[email protected]&name=no%20reply
244 | [mailtos://](https://appriseit.com/services/email/) | (TCP) 587 | mailtos://userid:[email protected]<br />mailtos://domain.com?user=userid&pass=password<br/>mailtos://domain.com:465?user=userid&pass=password<br />mailtos://[email protected]&pass=password<br />mailtos://mySendingUsername:[email protected][email protected]<br />mailtos://userid:[email protected]?smtp=mail.example.com&[email protected]&name=no%20reply
245
246 Apprise has some email services built right into it (such as yahoo, fastmail, hotmail, gmail, etc) that greatly simplify the mailto:// service. See more details [here](https://appriseit.com/services/email/).
247
248 ## Custom Notifications
249
250 | Post Method | Service ID | Default Port | Example Syntax |
251 | -------------------- | ---------- | ------------ | -------------- |
252 | [Form](https://appriseit.com/services/form/) | form:// or forms:// | (TCP) 80 or 443 | form://hostname<br />form://user@hostname<br />form://user:password@hostname:port<br />form://hostname/a/path/to/post/to
253 | [JSON](https://appriseit.com/services/json/) | json:// or jsons:// | (TCP) 80 or 443 | json://hostname<br />json://user@hostname<br />json://user:password@hostname:port<br />json://hostname/a/path/to/post/to
254 | [XML](https://appriseit.com/services/xml/) | xml:// or xmls:// | (TCP) 80 or 443 | xml://hostname<br />xml://user@hostname<br />xml://user:password@hostname:port<br />xml://hostname/a/path/to/post/to
255
256 # Installation
257
258 The easiest way is to install Apprise from PyPI:
259 ```bash
260 pip install apprise
261 ```
262
263 If you use [uv](https://docs.astral.sh/uv/), you can install the `apprise` command in its own isolated environment, or add Apprise to your uv project:
264 ```bash
265 # Install the apprise command
266 uv tool install apprise
267
268 # Or add it to your own project
269 uv add apprise
270 ```
271
272 Apprise is also packaged as an RPM and available through [EPEL](https://docs.fedoraproject.org/en-US/epel/) supporting CentOS, Redhat, Rocky, Oracle Linux, etc.
273 ```bash
274 # Follow instructions on https://docs.fedoraproject.org/en-US/epel
275 # to get your system connected up to EPEL and then:
276 # Redhat/CentOS 7.x users
277 yum install apprise
278
279 # Redhat/Rocky Linux 8.x+ and/or Fedora Users
280 dnf install apprise
281 ```
282
283 You can also check out the [Graphical version of Apprise](https://github.com/caronc/apprise-api) to centralize your configuration and notifications through a manageable webpage.
284
285 # Command Line Usage
286
287 A command line tool named *apprise* is included. Provide one or more service URLs to send a notification:
288
289 ```bash
290 # Send to several services. The -vv option shows additional details.
291 apprise -vv -t 'my title' -b 'my notification body' \
292 'mailto://myemail:[email protected]' \
293 'pbul://o.gn5kj6nfhv736I7jC3cj3QLRiyhgl98b'
294
295 # If you don't specify a --body (-b) then stdin is used allowing
296 # you to use the tool as part of your every day administration:
297 cat /proc/cpuinfo | apprise -vv -t 'cpu info' \
298 'mailto://myemail:[email protected]'
299
300 # The title field is totally optional
301 uptime | apprise -vv \
302 'discord:///4174216298/JHMHI8qBe7bk2ZwO5U711o3dV_js'
303 ```
304
305 ## CLI Configuration Files
306
307 No one wants to put their credentials out for everyone to see on the command line. No problem, *apprise* also supports configuration files. It can handle both a specific YAML format or a very simple TEXT format. You can also pull these configuration files via an HTTP query too! Read more about the expected structure of the configuration files [here](https://appriseit.com/config/).
308
309 ```bash
310 # By default if no url or configuration is specified apprise will attempt to load
311 # configuration files (if present) from:
312 # ~/.apprise
313 # ~/.apprise.yaml
314 # ~/.config/apprise.conf
315 # ~/.config/apprise.yaml
316 # /etc/apprise.conf
317 # /etc/apprise.yaml
318
319 # Also subdirectory handling allows you to leverage plugins
320 # ~/.apprise/apprise
321 # ~/.apprise/apprise.yaml
322 # ~/.config/apprise/apprise.conf
323 # ~/.config/apprise/apprise.yaml
324 # /etc/apprise/apprise.yaml
325 # /etc/apprise/apprise.conf
326
327 # Windows users can store their default configuration files here:
328 # %APPDATA%/Apprise/apprise.conf
329 # %APPDATA%/Apprise/apprise.yaml
330 # %LOCALAPPDATA%/Apprise/apprise.conf
331 # %LOCALAPPDATA%/Apprise/apprise.yaml
332 # %ALLUSERSPROFILE%\Apprise\apprise.conf
333 # %ALLUSERSPROFILE%\Apprise\apprise.yaml
334 # %PROGRAMFILES%\Apprise\apprise.conf
335 # %PROGRAMFILES%\Apprise\apprise.yaml
336 # %COMMONPROGRAMFILES%\Apprise\apprise.conf
337 # %COMMONPROGRAMFILES%\Apprise\apprise.yaml
338
339 # The configuration files specified above can also be identified with a `.yml`
340 # extension or even just entirely removing the `.conf` extension altogether.
341
342 # If you loaded one of those files, your command line gets really easy:
343 apprise -vv -t 'my title' -b 'my notification body'
344
345 # If you want to deviate from the default paths or specify more than one,
346 # just specify them using the --config switch:
347 apprise -vv -t 'my title' -b 'my notification body' \
348 --config=/path/to/my/config.yml
349
350 # Got lots of configuration locations? No problem, you can specify them all:
351 # Apprise can even fetch the configuration from over a network!
352 apprise -vv -t 'my title' -b 'my notification body' \
353 --config=/path/to/my/config.yml \
354 --config=https://localhost/my/apprise/config
355 ```
356
357 ## CLI Template Variables
358
359 A YAML configuration can leave a value out of a URL and have it filled in
360 later, which lets you keep the configuration in version control without the
361 secrets in it.
362
363 Write `${NAME}` where the value belongs and declare every name you use in a
364 `template:` section:
365
366 ```yaml
367 template:
368 # A default is used unless the call supplies a value
369 smtp_host: smtp.example.com
370 # No default: the call or environment must fill this name
371 api_key:
372
373 urls:
374 - sendgrid://${API_KEY}:[email protected]/[email protected]:
375 - tag: alerts
376 ```
377
378 Apprise looks for each value in this order and stops at the first answer:
379
380 1. a value passed with `--template-var` (`-tv`)
381 2. the default written in the `template:` section
382 3. the environment variable `APPRISE_TEMPLATE_<NAME>`
383
384 The environment is the last resort, so it only ever fills in a name the
385 `template:` section declared without a default.
386
387 Values supplied for a call or through the environment are trimmed. If one is
388 blank afterwards, it reads as not supplied and the next source above applies.
389 A default written in the configuration stays as written. Use `name: ""` for an
390 explicit empty-string default; `name:` means the value is required.
391
392 ```bash
393 # Supply it directly
394 apprise --config=apprise.yml --tag=alerts \
395 --template-var api_key=your-secret-key \
396 --body="Hello"
397
398 # Or leave it in the environment
399 export APPRISE_TEMPLATE_API_KEY=your-secret-key
400 apprise --config=apprise.yml --tag=alerts --body="Hello"
401 ```
402
403 A service missing a required value is skipped while other services continue;
404 Apprise then exits with status `4`. Use `--dry-run` to check required values
405 without sending anything.
406
407 Only names declared under `template:` are replaced. Names ignore case, values
408 keep their original case, and each value may be up to 1,024 characters.
409 Undeclared `${...}` text remains unchanged, preventing similar text in an
410 existing password from being replaced by accident. Extra supplied names are
411 accepted and ignored.
412
413 Variables may be placed directly in a URL or in a named YAML setting. URL
414 markers can change any field, including the destination; whole-host markers
415 also accept `user@host` and `user:pass@host`. A named setting changes only its
416 option, so prefer it for values supplied by less-trusted callers.
417
418 Variables cannot replace the service before `://`, a setting name, or a
419 `tag:`/`tags:` value. Services and tags must be known before values are filled
420 in. Template variables apply only to YAML configuration; TEXT configuration
421 is unchanged.
422
423 ## CLI Tagging Support
424
425 Apprise allows you to tag your services in your configuration to organize them (e.g., `family`, `devops`, `critical`). You can then filter which services to notify using the `--tag` (`-g`) switch.
426
427 It is important to understand how Apprise handles multiple tags:
428
429 * **OR Logic (Union)**: To notify services that have *either* Tag A **OR** Tag B, specify the `-g` switch multiple times.
430 * **AND Logic (Intersection)**: To notify services that have *both* Tag A **AND** Tag B, separate the tags with a comma.
431
432 ```bash
433 # OR Logic: Notify any service tagged 'devops' OR 'admin'
434 apprise -vv -t "Union Test" \
435 --config=~/apprise.yml \
436 -g devops -g admin
437
438 # AND Logic: Notify only services tagged with BOTH 'devops' AND 'critical'
439 apprise -vv -t "Intersection Test" \
440 --config=~/apprise.yml \
441 -g devops,critical
442 ```
443
444 Tags also support an optional **priority prefix** and **retry suffix**. In your configuration file you assign a priority to a tag like `1:alerts` or `5:alerts`. A lower number means higher urgency.
445
446 * **Escalation (no prefix)**: `-g alerts` dispatches priority-1 entries first. If they all succeed, Apprise returns early and never runs the priority-5 fallbacks. A failure in the lower-priority group triggers the next group as an escalation chain.
447 * **Exclusive (with prefix)**: `-g "2:alerts"` notifies *only* services whose `alerts` tag has priority 2. No other priority levels are triggered.
448 * **Per-call retry**: `-g "alerts:3"` retries each matched service up to 3 times on failure (overrides the service's own retry setting for this call only).
449 * **Combined**: `-g "2:alerts:3"` selects only priority-2 services and allows up to 3 retries.
450
451 ```bash
452 # Escalation: priority-1 first; skip priority-5 if all succeed
453 apprise -vv -t "Alert" --config=~/apprise.yml -g alerts
454
455 # Exclusive: only priority-2 alert services
456 apprise -vv -t "Alert" --config=~/apprise.yml -g "2:alerts"
457
458 # With retry override: retry each matched service up to 3 times
459 apprise -vv -t "Alert" --config=~/apprise.yml -g "alerts:3"
460 ```
461
462 ## CLI File Attachments
463
464 Apprise also supports file attachments too! Specify as many attachments to a notification as you want.
465
466 ```bash
467 # Send a funny image you found on the internet to a colleague:
468 apprise -vv --title 'Agile Joke' \
469 --body 'Did you see this one yet?' \
470 --attach https://i.redd.it/my2t4d2fx0u31.jpg \
471 'mailto://myemail:[email protected]'
472
473 # Easily send an update from a critical server to your dev team
474 apprise -vv --title 'system crash' \
475 --body 'I do not think Jim fixed the bug; see attached...' \
476 --attach /var/log/myprogram.log \
477 --attach /var/debug/core.2345 \
478 --tag devteam
479 ```
480
481 ## CLI Loading Custom Notifications/Hooks
482
483 To create your own custom `schema://` hook so that you can trigger your own custom code,
484 simply include the `@notify` decorator to wrap your function.
485 ```python
486 from apprise.decorators import notify
487 #
488 # The below assumes you want to catch foobar:// calls:
489 #
490 @notify(on="foobar", name="My Custom Foobar Plugin")
491 def my_custom_notification_wrapper(body, title, notify_type, *args, **kwargs):
492 """My custom notification function that triggers on all foobar:// calls
493 """
494 # Write all of your code here... as an example...
495 print("{}: {} - {}".format(notify_type.upper(), title, body))
496
497 # Returning True/False is a way to relay your status back to Apprise.
498 # Returning nothing (None by default) is always interpreted as a Success
499 ```
500
501 Once you've defined your custom hook, you just need to tell Apprise where it is at runtime.
502 ```bash
503 # By default if no plugin path is specified apprise will attempt to load
504 # all plugin files (if present) from the following directory paths:
505 # ~/.apprise/plugins
506 # ~/.config/apprise/plugins
507 # /var/lib/apprise/plugins
508
509 # Windows users can store their default plugin files in these directories:
510 # %APPDATA%/Apprise/plugins
511 # %LOCALAPPDATA%/Apprise/plugins
512 # %ALLUSERSPROFILE%\Apprise\plugins
513 # %PROGRAMFILES%\Apprise\plugins
514 # %COMMONPROGRAMFILES%\Apprise\plugins
515
516 # If you placed your plugin file within one of the directories already defined
517 # above, then your call simply needs to look like:
518 apprise -vv --title 'custom override' \
519 --body 'the body of my message' \
520 foobar:\\
521
522 # However you can override the path like so
523 apprise -vv --title 'custom override' \
524 --body 'the body of my message' \
525 --plugin-path /path/to/my/plugin.py \
526 foobar:\\
527 ```
528
529 You can read more about creating your own custom notifications and/or hooks [here](https://appriseit.com/library/extending/decorator/).
530
531 ## CLI Environment Variables
532
533 Those using the Command Line Interface (CLI) can also leverage environment variables to pre-set the default settings:
534
535 | Variable | Description |
536 |------------------------ | ----------------- |
537 | `APPRISE_URLS` | Specify the default URLs to notify IF none are otherwise specified on the command line explicitly. If the `--config` (`-c`) is specified, then this will overrides any reference to this variable. Use white space and/or a comma (`,`) to delimit multiple entries.
538 | `APPRISE_CONFIG_PATH` | Explicitly specify the config search path to use (overriding the default). The path(s) defined here must point to the absolute filename to open/reference. Use a semi-colon (`;`), line-feed (`\n`), and/or carriage return (`\r`) to delimit multiple entries.
539 | `APPRISE_PLUGIN_PATH` | Explicitly specify the custom plugin search path to use (overriding the default). Use a semi-colon (`;`), line-feed (`\n`), and/or carriage return (`\r`) to delimit multiple entries.
540 | `APPRISE_STORAGE_PATH` | Explicitly specify the persistent storage path to use (overriding the default).
541 | `APPRISE_TEMPLATE_<NAME>` | Supply a value for a `${NAME}` used by a YAML configuration. For example `APPRISE_TEMPLATE_API_KEY` fills in `${API_KEY}`. A value passed with `--template-var` (`-tv`) takes priority over this.
542
543 # Developer API Usage
544
545 To send a notification from within your python application, just do the following:
546 ```python
547 import apprise
548
549 # Create an Apprise instance
550 apobj = apprise.Apprise()
551
552 # Add notification services by URL.
553 # A sample email notification:
554 apobj.add('mailto://myuserid:[email protected]')
555
556 # A sample pushbullet notification
557 apobj.add('pbul://o.gn5kj6nfhv736I7jC3cj3QLRiyhgl98b')
558
559 # Then notify these services any time you desire. The below would
560 # notify all of the services loaded into our Apprise object.
561 apobj.notify(
562 body='what a great notification service!',
563 title='my notification title',
564 )
565 ```
566
567 ## API Configuration Files
568
569 Developers need access to configuration files too. The good news is that their use just involves declaring another object (called *AppriseConfig*) that the *Apprise* object can ingest. You can also freely mix and match config and notification entries as often as you wish! You can read more about the expected structure of the configuration files [here](https://appriseit.com/getting-started/configuration/).
570 ```python
571 import apprise
572
573 # Create an Apprise instance
574 apobj = apprise.Apprise()
575
576 # Create an Config instance
577 config = apprise.AppriseConfig()
578
579 # Add a configuration source:
580 config.add('/path/to/my/config.yml')
581
582 # Add another...
583 config.add('https://myserver:8080/path/to/config')
584
585 # Make sure to add our config into our apprise object
586 apobj.add(config)
587
588 # You can mix and match; add an entry directly if you want too
589 # In this entry we associate the 'admin' tag with our notification
590 apobj.add('mailto://myuser:[email protected]', tag='admin')
591
592 # Then notify these services any time you desire. The below would
593 # notify all of the services that have not been bound to any specific
594 # tag.
595 apobj.notify(
596 body='what a great notification service!',
597 title='my notification title',
598 )
599
600 # Tagging allows you to specifically target only specific notification
601 # services you've loaded:
602 apobj.notify(
603 body='send a notification to our admin group',
604 title='Attention Admins',
605 # notify any services tagged with the 'admin' tag
606 tag='admin',
607 )
608
609 # If you want to notify absolutely everything (regardless of whether
610 # it's been tagged or not), just use the reserved tag of 'all':
611 apobj.notify(
612 body='send a notification to our admin group',
613 title='Attention Admins',
614 # notify absolutely everything loaded, regardless on whether
615 # it has a tag associated with it or not:
616 tag='all',
617 )
618 ```
619
620 ## API Template Variables
621
622 After loading a templated YAML configuration, developers can supply its values
623 when sending:
624
625 ```python
626 apobj.notify(
627 body='what a great notification service!',
628 title='my notification title',
629 template={'api_key': 'your-secret-key'},
630 )
631 ```
632
633 The per-call mapping takes priority over `APPRISE_TEMPLATE_<NAME>` environment
634 variables and defaults in the YAML file. Names are case-insensitive, and extra
635 names are accepted and ignored.
636
637 Templates are enabled by default. To turn them off, use the same disabled asset
638 for the configuration and its Apprise object:
639
640 ```python
641 asset = apprise.AppriseAsset(allow_templates=False)
642 config = apprise.AppriseConfig(asset=asset)
643 apobj = apprise.Apprise(asset=asset)
644 apobj.add(config)
645 ```
646
647 When disabled, the `template:` section and template environment variables are
648 ignored, and `${NAME}` remains unchanged. A configuration cannot enable this
649 feature itself.
650
651 ## API File Attachments
652
653 Attachments are very easy to send using the Apprise API:
654 ```python
655 import apprise
656
657 # Create an Apprise instance
658 apobj = apprise.Apprise()
659
660 # Add at least one service you want to notify
661 apobj.add('mailto://myuser:[email protected]')
662
663 # Then send your attachment.
664 apobj.notify(
665 title='A great photo of our family',
666 body='The flash caused Jane to close her eyes! hah! :)',
667 attach='/local/path/to/my/DSC_003.jpg',
668 )
669
670 # Send a web based attachment too! In the below example, we connect to a home
671 # security camera and send a live image to an email. By default remote web
672 # content is cached, but for a security camera we might want to call notify
673 # again later in our code, so we want our last image retrieved to expire(in
674 # this case after 3 seconds).
675 apobj.notify(
676 title='Latest security image',
677 attach='http://admin:password@hikvision-cam01/ISAPI/Streaming/channels/101/picture?cache=3'
678 )
679 ```
680
681 To send more than one attachment, just use a list, set, or tuple instead:
682 ```python
683 import apprise
684
685 # Create an Apprise instance
686 apobj = apprise.Apprise()
687
688 # Add at least one service you want to notify
689 apobj.add('mailto://myuser:[email protected]')
690
691 # Now add all of the entries we're interested in:
692 attach = (
693 # ?name= allows us to rename the actual jpeg as found on the site
694 # to be another name when sent to our receipient(s)
695 'https://i.redd.it/my2t4d2fx0u31.jpg?name=FlyingToMars.jpg',
696
697 # Now add another:
698 '/path/to/funny/joke.gif',
699 )
700
701 # Send your multiple attachments with a single notify call:
702 apobj.notify(
703 title='Some good jokes.',
704 body='Hey guys, check out these!',
705 attach=attach,
706 )
707 ```
708
709 ## API Loading Custom Notifications/Hooks
710
711 By default, no custom plugins are loaded at all for those building from within the Apprise API.
712 It's at the developers discretion to load custom modules. But should you choose to do so, it's as easy
713 as including the path reference in the `AppriseAsset()` object prior to the initialization of your `Apprise()`
714 instance.
715
716 For example:
717 ```python
718 from apprise import Apprise
719 from apprise import AppriseAsset
720
721 # Prepare your Asset object so that you can enable the custom plugins to
722 # be loaded for your instance of Apprise...
723 asset = AppriseAsset(plugin_paths="/path/to/scan")
724
725 # OR You can also generate scan more then one file too:
726 asset = AppriseAsset(
727 plugin_paths=[
728 # Iterate over all python libraries found in the root of the
729 # specified path. This is NOT a recursive (directory) scan; only
730 # the first level is parsed. HOWEVER, if a directory containing
731 # an __init__.py is found, it will be included in the load.
732 "/dir/containing/many/python/libraries",
733
734 # An absolute path to a plugin.py to exclusively load
735 "/path/to/plugin.py",
736
737 # if you point to a directory that has an __init__.py file found in
738 # it, then only that file is loaded (it's similar to point to a
739 # absolute .py file. Hence, there is no (level 1) scanning at all
740 # within the directory specified.
741 "/path/to/dir/library"
742 ]
743 )
744
745 # Now that we've got our asset, we just work with our Apprise object as we
746 # normally do
747 aobj = Apprise(asset=asset)
748
749 # If our new custom `foobar://` library was loaded (presuming we prepared
750 # one like in the examples above). then you would be able to safely add it
751 # into Apprise at this point
752 aobj.add('foobar://')
753
754 # Send our notification out through our foobar://
755 aobj.notify("test")
756 ```
757
758 You can read more about creating your own custom notifications and/or hooks [here](https://appriseit.com/library/extending/decorator/).
759
760 # Persistent Storage
761
762 Persistent storage allows Apprise to cache re-occurring actions optionaly to disk. This can greatly reduce the overhead used to send a notification.
763
764 There are 3 Persistent Storage operational states Apprise can operate using:
765 1. `auto`: Flush gathered cache information to the filesystem on demand. This option is incredibly light weight. This is the default behavior for all CLI usage.
766 * Developers who choose to use this operational mode can also force cached information manually if they choose.
767 * The CLI will use this operational mode by default.
768 2. `flush`: Flushes any cache information to the filesystem during every transaction.
769 3. `memory`: Effectively disable Persistent Storage. Any caching of data required by each plugin used is done in memory. Apprise effectively operates as it always did before peristent storage was available. This setting ensures no content is ever written to disk.
770 * By default this is the mode Apprise will operate under for those developing with it unless they configure it to otherwise operate as `auto` or `flush`. This is done through the `AppriseAsset()` object and is explained further on in this documentation.
771
772 ## CLI Persistent Storage Commands
773
774 You can provide the keyword `storage` on your CLI call to see the persistent storage options available to you.
775 ```bash
776 # List all of the occupied space used by Apprise's Persistent Storage:
777 apprise storage list
778
779 # list is the default option, so the following does the same thing:
780 apprise storage
781
782 # You can prune all of your storage older then 30 days
783 # and not accessed for this period like so:
784 apprise storage prune
785
786 # You can do a hard reset (and wipe all persistent storage) with:
787 apprise storage clean
788
789 ```
790
791 You can also filter your results by adding tags and/or URL Identifiers. When you get a listing (`apprise storage list`), you may see:
792 ```
793 # example output of 'apprise storage list':
794 1. f7077a65 0.00B unused
795 - matrixs://abcdef:****@synapse.example12.com/%23general?image=no&mode=off&version=3&msgtype...
796 tags: team
797
798 2. 0e873a46 81.10B active
799 - tgram://W...U//?image=False&detect=yes&silent=no&preview=no&content=before&mdv=v1&format=m...
800 tags: personal
801
802 3. abcd123 12.00B stale
803
804 ```
805 The (persistent storage) cache states are:
806 - `unused`: This plugin has not commited anything to disk for reuse/cache purposes
807 - `active`: This plugin has written content to disk. Or at the very least, it has prepared a persistent storage location it can write into.
808 - `stale`: The system detected a location where a URL may have possibly written to in the past, but there is nothing linking to it using the URLs provided. It is likely wasting space or is no longer of any use.
809
810 You can use this information to filter your results by specifying _URL ID_ (UID) values after your command. For example:
811 ```bash
812 # The below commands continue with the example already identified above
813 # the following would match abcd123 (even though just ab was provided)
814 # The output would only list the 'stale' entry above
815 apprise storage list ab
816
817 # knowing our filter is safe, we could remove it
818 # the below command would not obstruct our other to URLs and would only
819 # remove our stale one:
820 apprise storage clean ab
821
822 # Entries can be filtered by tag as well:
823 apprise storage list --tag=team
824
825 # You can match on multiple URL ID's as well:
826 # The followin would actually match the URL ID's of 1. and .2 above
827 apprise storage list f 0
828 ```
829 When using the CLI, Persistent storage is set to the operational mode of `auto` by default, you can change this by providing `--storage-mode=` (`-SM`) during your calls. If you want to ensure it's always set to a value of your choice.
830
831 For more information on persistent storage, [visit here](https://appriseit.com/cli/persistent-storage/).
832
833 ## API Persistent Storage Commands
834 For developers, persistent storage is set in the operational mode of `memory` by default.
835
836 It's at the developers discretion to enable it (by switching it to either `auto` or `flush`). Should you choose to do so: it's as easy as including the information in the `AppriseAsset()` object prior to the initialization of your `Apprise()` instance.
837
838 For example:
839 ```python
840 from apprise import Apprise
841 from apprise import AppriseAsset
842 from apprise import PersistentStoreMode
843
844 # Prepare a location the persistent storage can write it's cached content to.
845 # By setting this path, this immediately assumes you wish to operate the
846 # persistent storage in the operational 'auto' mode
847 asset = AppriseAsset(storage_path="/path/to/save/data")
848
849 # If you want to be more explicit and set more options, then you may do the
850 # following
851 asset = AppriseAsset(
852 # Set our storage path directory (minimum requirement to enable it)
853 storage_path="/path/to/save/data",
854
855 # Set the mode... the options are:
856 # 1. PersistentStoreMode.MEMORY
857 # - disable persistent storage from writing to disk
858 # 2. PersistentStoreMode.AUTO
859 # - write to disk on demand
860 # 3. PersistentStoreMode.FLUSH
861 # - write to disk always and often
862 storage_mode=PersistentStoreMode.FLUSH
863
864 # The URL IDs are by default 8 characters in length. You can increase and
865 # decrease it's value here. The value must be > 2. The default value is 8
866 # if not otherwise specified
867 storage_idlen=8,
868 )
869
870 # Now that we've got our asset, we just work with our Apprise object as we
871 # normally do
872 aobj = Apprise(asset=asset)
873 ```
874
875 For more information on persistent storage, [visit here](https://appriseit.com/library/persistent-storage/).
876
877 # Want To Learn More?
878
879 If you're interested in reading more about this and other methods on how to customize your own notifications, please check out the following links:
880 * 📣 [Using the CLI](https://appriseit.com/cli/)
881 * 🛠️ [Development API](https://appriseit.com/library/)
882 * ⚙️ [Configuration File Help](https://appriseit.com/getting-started/configuration/)
883 * ⚡ [Create Your Own Custom Notifications](https://appriseit.com/library/extending/decorator/)
884 * 🌎 [Apprise API/Web Interface](https://github.com/caronc/apprise-api/)
885 * 📖 [Apprise Documentation Source](https://github.com/caronc/apprise-docs/)
886 * 🔧 [Troubleshooting](https://appriseit.com/qa/)
887 * 🎉 [Showcase](https://appriseit.com/contributing/showcase/)
888
889 Want to help make Apprise better?
890 * 💡 [Contribute to the Apprise Code Base](https://appriseit.com/contributing/)
891 * ❤️ [Sponsorship and Donations](https://appriseit.com/contributing/sponsors/)