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

Twist

Schemestwist://
Cargo featureservice-twist
Servicehttps://twist.com
Body formatsmarkdown (first is the default)
Attachmentsno
Title length250 characters
Body length1,000 characters
Body linesunlimited
Request throttle200 ms between requests
Vendor URLs acceptedno

URL formats

{schema}://{password}:{email}
{schema}://{password}:{email}/{targets}

{schema} is one of twist://.

URL tokens

TokenMeaningTypeRequiredDefaultNotes
{email}Emailemailyes
{password}Passwordstringyessecret
{target_channel}Target Channelstringnoprefix #
{target_channel_id}Target Channel IDstringno
{targets}Targetslistnoany of target_channel, target_channel_id; separated by /

Query parameters

ParameterMeaningTypeDefaultNotes
toTargetslistsets {targets}

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

twist://password:user@example.com
twist://user@example.com/secret/42
twist://password:user@example.com/12345
twist://password:user@example.com?to=777
twist://password:user@example.com/12345?overflow=split

Rejected URLs:

twist://
twist://:@/
twist://user@example.com/
twist://password:user@exa_mple!.com

Send one from the command line:

mercurio -t 'Backup' -b 'Finished in 42s' 'twist://password:user@example.com'

Notes

Twist (twist://): messages to Twist threads and channels.

The login session lives on the parsed URL: the token, workspace and channel lookups are kept between sends (channel names are resolved once). users/logout runs from Target::close.