SMS Manager
| Schemes | smsmgr://, smsmanager:// |
| Cargo feature | service-smsmanager |
| Service | https://smsmanager.cz |
| Body formats | text (first is the default) |
| Attachments | no |
| Title length | no title (merged into the body) |
| Body length | 160 characters |
| Body lines | unlimited |
| Request throttle | none |
| Vendor URLs accepted | no |
URL formats
{schema}://{apikey}@{targets}
{schema} is one of smsmgr://, smsmanager://.
URL tokens
| Token | Meaning | Type | Required | Default | Notes |
|---|---|---|---|---|---|
{apikey} | API Key | string | yes | secret | |
{target_phone} | Target Phone No | string | no | prefix +; must match ^[0-9\s)(+-]+$ | |
{targets} | Targets | list | yes | any of target_phone; separated by / |
Query parameters
| Parameter | Meaning | Type | Default | Notes |
|---|---|---|---|---|
batch | Batch Mode | bool | no | |
from | From Phone No | string | also sender; must match ^\+?[0-9\s)(+-]+$ | |
gateway | Gateway | choice | high | one of high, economy, low, direct |
key | API Key | string | sets {apikey} | |
to | Targets | list | sets {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):
smsmgr://apikey@123456789
smsmanager://apikey@+420123456789/+420987654321
smsmgr://123456789?key=other
smsmgr://apikey@123456789?sender=Me
smsmgr://apikey@123456789/987654321/+420111222333?batch=yes
smsmgr://apikey@123456789?gateway=ECONOMY
smsmgr://apikey@123456789?sender=Me&from=You
smsmgr://apikey@123456789?from=MyLongSenderName
Rejected URLs:
smsmgr://
smsmgr://123456789
smsmgr://apikey@123456789?gateway=fast
Send one from the command line:
mercurio -t 'Backup' -b 'Finished in 42s' 'smsmgr://apikey@123456789'
Notes
SMS Manager (smsmgr://, smsmanager://): SMS through the SMS Manager API.