Universal URL Syntax
Every destination in Apprise is written as one URL. Learn its four parts once and you can read or write a URL for any of the 206 supported services.
The Blueprint
Section titled “The Blueprint”The service is always there. Which of the other three parts you need depends on the service.
service://credentials/direction/?parameter=value
Service
- Which app gets the message.
Credentials
- Your token, login, or server.
Direction
- The channel, chat, topic, or person.
Parameters
- Optional settings for that service.
Breakdown
Section titled “Breakdown”1. The Service (service://)
Section titled “1. The Service (service://)”The first part picks the service Apprise talks to. Many services have a secure form ending in s, such as mailtos:// or ntfys://, which uses an encrypted connection.
- Emailmailtos://user:pass@gmail.com/jane@example.com
- Telegramtgram://bottoken/chat_id
- Slackslack://TokenA/TokenB/TokenC/#general
Not sure what yours is called? Browse every supported service.
2. Credentials and Host
Section titled “2. Credentials and Host”This part tells the service who you are, or where your server lives. Depending on the service it is a token, a user name and password, or the address of a server you run yourself.
- A bot tokentgram://bottoken/chat_id
- A login and mail servermailtos://user:pass@example.com/jane@example.com
- A self-hosted serverntfys://ntfy.example.com/my-topic
3. The Direction (/direction)
Section titled “3. The Direction (/direction)”This part says where the message goes: a channel, a chat, a topic, a phone number, or a person. Many services take several at once, separated by /.
- Two channelsslack://TokenA/TokenB/TokenC/#general/#alerts
- A phone numbertwilio://AccountSid:AuthToken@15551234567/15557654321
- A chattgram://bottoken/chat_id
4. Parameters (?key=value)
Section titled “4. Parameters (?key=value)”Optional settings go at the end, after a ?. Each one is written as key=value, and several are joined with &. Most belong to one service, but a few such as format= work everywhere (see Formatting).
- Read the message alouddiscord://webhook_id/webhook_token?tts=yes
- Send the email as HTMLmailtos://user:pass@gmail.com/jane@example.com?format=html
- Raise the priorityntfys://ntfy.example.com/my-topic?priority=high
Each service page lists the parameters it supports.
Where URLs Are Used
Section titled “Where URLs Are Used”The same URL works everywhere in Apprise, so one you test on the command line can go straight into a config file or an API call.
apprise -b "Hello" "tgram://bottoken/chat_id"urls: - tgram://bottoken/chat_idtgram://bottoken/chat_idcurl -X POST -H "Content-Type: application/json" \ -d '{"urls": "tgram://bottoken/chat_id", "body": "Hello"}' \ http://localhost:8000/notify/URL Builder
Section titled “URL Builder”You never have to write these by hand. The URL Builder shows a short form for the service you pick and fills in the URL as you type.
Questions or Feedback?
Technical Issues
Having trouble with the code? Open an issue on GitHub: