Keyboard shortcuts

Press ← or → to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Apprise API

Schemesapprise://, apprises://
Cargo featureservice-appriseapi
Servicehttps://github.com/caronc/apprise-api
Body formatstext, html, markdown (first is the default)
Attachmentsyes
Title length250 characters
Body length32,768 characters
Body linesunlimited
Request throttlenone
Vendor URLs acceptedyes

URL formats

{schema}://{host}/{token}
{schema}://{host}:{port}/{token}
{schema}://:{password}@{host}/{token}
{schema}://:{password}@{host}:{port}/{token}
{schema}://{user}@{host}/{token}
{schema}://{user}@{host}:{port}/{token}
{schema}://{user}:{password}@{host}/{token}
{schema}://{user}:{password}@{host}:{port}/{token}

{schema} is one of apprise://, apprises://.

URL tokens

TokenMeaningTypeRequiredDefaultNotes
{host}Hostnamestringyes
{password}Passwordstringnosecret
{port}Portint, 1 to 65535no
{token}Tokenstringyessecret; must match ^[A-Z0-9_-]{1,128}$
{user}Usernamestringno

Query parameters

ParameterMeaningTypeDefaultNotes
methodQuery Methodchoiceformone of form, json
tagsTagsstring
toTokenstringsets {token}
versionAPI Versionchoice2also v; one of 1, 2

Prefixed parameters:

  • +name=value: HTTP Header

The common URL parameters (format, overflow, verify, redirect, cto, rto, retry, wait, store, tag, tz, user, password, port, optional, emojis) apply as well.

Examples

Accepted URLs (tokens are fake):

apprise://localhost/mytoken0/
apprise://user@localhost/mytoken1/
apprise://localhost/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
apprises://localhost/cccccccccccccccccccccccccccccccc
http://example.com/notify/dddddddddddddddddddddddddddddddd
https://example.com/path/notify/dddddddddddddddddddddddddddddddd
apprise://localhost/mytoken1/?v=1
apprise://localhost/tok/?tags=a,b

Rejected URLs:

apprise://
apprise://:@/
apprise://localhost
apprise://localhost/!

Send one from the command line:

mercurio -t 'Backup' -b 'Finished in 42s' 'apprise://localhost/mytoken0/'

Notes

Apprise API relay (apprise://, apprises://): hands the notification to an Apprise API server, which delivers it to its configured services.