Skip to content

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 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.

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.

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

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

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.

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.

Terminal window
apprise -b "Hello" "tgram://bottoken/chat_id"

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?

Documentation

Notice a typo or an error?

Technical Issues

Having trouble with the code? Open an issue on GitHub:

Made with love from Canada