Mobile Message
| Schemes | mobilemessage://, mobilemsg:// |
| Cargo feature | service-mobilemessage |
| Service | https://mobilemessage.com.au/ |
| Body formats | text (first is the default) |
| Attachments | no |
| Title length | no title (merged into the body) |
| Body length | 1,530 characters |
| Body lines | unlimited |
| Request throttle | none |
| Vendor URLs accepted | no |
URL formats
{schema}://{user}:{password}@{sender}/{targets}
{schema} is one of mobilemessage://, mobilemsg://.
URL tokens
| Token | Meaning | Type | Required | Default | Notes |
|---|---|---|---|---|---|
{password} | API Password | string | yes | secret | |
{sender} | Sender ID | string | yes | must match ^\+?[a-z0-9][a-z0-9 ()_.-]{1,19}$ | |
{target_phone} | Target Phone No | string | no | prefix +; must match ^[0-9\s)(+-]+$ | |
{targets} | Targets | list | yes | any of target_phone; separated by / | |
{user} | API Username | string | yes |
Query parameters
| Parameter | Meaning | Type | Default | Notes |
|---|---|---|---|---|
batch | Batch Mode | bool | yes | |
from | Sender ID | string | sets {sender} | |
max_parts | Max Message Parts | int, 1 to 99 | 10 | |
ref | Custom Reference | string | ||
to | Targets | list | sets {targets} | |
unicode | Unicode Characters | bool | no |
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):
mobilemessage://user:pass@MyBiz/0412345678
mobilemessage://user:pass@MyBiz/0412345678?unicode=yes&max_parts=2
mobilemessage://user:pass@0412345678?from=%2B61%20(412)%20345-670&to=0412345679
Rejected URLs:
mobilemessage://
mobilemessage://user@Sender/0412345678
mobilemessage://user:pass@-x/0412345678
mobilemessage://user:pass@MyBiz/0412345678?max_parts=abc
Send one from the command line:
mercurio -t 'Backup' -b 'Finished in 42s' 'mobilemessage://user:pass@MyBiz/0412345678'
Notes
Mobile Message (mobilemessage://, mobilemsg://): SMS through the Mobile Message API.