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

SerwerSMS

Schemesserwersms://
Cargo featureservice-serwersms
Servicehttps://serwersms.pl
Body formatstext (first is the default)
Attachmentsyes
Title lengthno title (merged into the body)
Body length160 characters
Body linesunlimited
Request throttlenone
Vendor URLs acceptedno

URL formats

{schema}://{user}:{password}@{sender}/{targets}
{schema}://{user}:{password}@{sender}

{schema} is one of serwersms://.

URL tokens

TokenMeaningTypeRequiredDefaultNotes
{password}Passwordstringyessecret
{sender}Sender Namestringyesmust match ^[a-z0-9][a-z0-9 _-]{0,10}$
{target_group}Target Group IDstringnoprefix #
{target_phone}Target Phone Nostringnoprefix +; must match ^[0-9\s)(+-]+$
{targets}Targetslistnoany of target_group, target_phone; separated by /
{user}Usernamestringyes

Query parameters

ParameterMeaningTypeDefaultNotes
senderSender Namestringsets {sender}; also from
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):

serwersms://user:pass@Sender/48500600700
serwersms://user:pass@ignored/48500600700?from=FromName
serwersms://user:pass@ignored/48500600700?from=FromName&sender=Sndr%20X

Rejected URLs:

serwersms://
serwersms://user@Sender/48500600700
serwersms://:pass@Sender/48500600700
serwersms://user:pass@-Sender/48500600700

Send one from the command line:

mercurio -t 'Backup' -b 'Finished in 42s' 'serwersms://user:pass@Sender/48500600700'

Notes

SerwerSMS (serwersms://): SMS through the SerwerSMS API.