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

Nextcloud Talk

Schemesnctalk://, nctalks://
Cargo featureservice-nextcloudtalk
Servicehttps://nextcloud.com/talk
Body formatstext (first is the default)
Attachmentsno
Title length255 characters
Body length31,745 characters
Body linesunlimited
Request throttlenone
Vendor URLs acceptedno

URL formats

{schema}://{user}:{password}@{host}/{targets}
{schema}://{user}:{password}@{host}:{port}/{targets}
{schema}://{host}/{targets}?secret={secret}
{schema}://{host}:{port}/{targets}?secret={secret}

{schema} is one of nctalk://, nctalks://.

URL tokens

TokenMeaningTypeRequiredDefaultNotes
{host}Hostnamestringyes
{password}Passwordstringyessecret
{port}Portint, 1 to 65535no
{secret}Secretstringyessecret
{target_room_id}Room IDstringno
{targets}Targetslistyesany of target_room_id; separated by /
{user}Usernamestringyes

Query parameters

ParameterMeaningTypeDefaultNotes
secretSecretstringsets {secret}
silentSilent Notificationboolno
url_prefixURL Prefixstring

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

nctalks://user:pass@localhost/roomid
nctalk://user:pass@localhost:8080/roomid
nctalk://user:pass@localhost/roomid2/roomid1
nctalk://user:pass@localhost/roomid?silent=yes
nctalks://localhost/room1/room2?secret=abcd
nctalk://user:pass@localhost:8080/roomid?url_prefix=/prefix
nctalks://user:pass@localhost/room?secret=abc&silent=yes
nctalk://user:pass@localhost/admin/?url_prefix=a/longer/path/abcd/

Rejected URLs:

nctalk://
nctalk://localhost/roomid
nctalk://user@localhost/roomid
nctalk://localhost/roomid?secret=

Send one from the command line:

mercurio -t 'Backup' -b 'Finished in 42s' 'nctalks://user:pass@localhost/roomid'

Notes

Nextcloud Talk (nctalk://, nctalks://): messages to Nextcloud Talk rooms.

Either user/password (chat API) or ?secret= (bot API, HMAC-SHA256 signed).