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

Synology Chat

Schemessynology://, synologys://
Cargo featureservice-synology
Servicehttps://www.synology.com/
Body formatstext (first is the default)
Attachmentsno
Title lengthno title (merged into the body)
Body length32,768 characters
Body linesunlimited
Request throttlenone
Vendor URLs acceptedno

URL formats

{schema}://{host}/{token}
{schema}://{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 synology://, synologys://.

URL tokens

TokenMeaningTypeRequiredDefaultNotes
{host}Hostnamestringyes
{password}Passwordstringnosecret
{port}Portint, 1 to 65535no
{token}Tokenstringyessecret
{user}Usernamestringno

Query parameters

ParameterMeaningTypeDefaultNotes
file_urlUploadstring
tokenTokenstringsets {token}

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):

synology://localhost/token
synologys://localhost/token
synology://user:pass@localhost/token
synology://localhost/to%20ken/sub/dir
synologys://localhost:8080/token/path/
synologys://localhost?token=mytoken
synologys://localhost/?token=mytoken
synology://localhost/token?file_url=http://reddit.com/test.jpg

Rejected URLs:

synology://:@/
synology://
synologys://
synology://user@localhost

Send one from the command line:

mercurio -t 'Backup' -b 'Finished in 42s' 'synology://localhost/token'

Notes

Synology Chat (synology://, synologys://): messages through Synology Chat incoming webhooks.

Differences with Apprise

  • Apprise crashes on URLs without a path, while mercurio handles them.