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

BulkSMS

Schemesbulksms://
Cargo featureservice-bulksms
Servicehttps://bulksms.com/
Body formatstext (first is the default)
Attachmentsno
Title lengthno title (merged into the body)
Body length160 characters
Body linesunlimited
Request throttlenone
Vendor URLs acceptedno

URL formats

{schema}://{token_id}:{token_secret}@{targets}

{schema} is one of bulksms://.

URL tokens

TokenMeaningTypeRequiredDefaultNotes
{target_group}Target Groupstringnoprefix @; must match ^[A-Z0-9 _-]+$
{target_phone}Target Phone Nostringnoprefix +; must match ^[0-9\s)(+-]+$
{targets}Targetslistyesany of target_group, target_phone; separated by /
{token_id}Tokenstringyes
{token_secret}Secretstringyessecret

Query parameters

ParameterMeaningTypeDefaultNotes
batchBatch Modeboolno
fromFrom Phone Nostringmust match ^\+?[0-9\s)(+-]+$
routeRoute GroupchoiceSTANDARDone of ECONOMY, STANDARD, PREMIUM
toTargetslistsets {targets}
unicodeUnicode Charactersboolyes

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

bulksms://aaaaaaaaaa:bbbbbbbbbb@55555555555
bulksms://aaaaa:bbbbbbbbbb@123/33333333333/abcd/
bulksms://aaaaaaaaaa:bbbbbbbbbb@123456/44444444444
bulksms://bbbbb:cccccccccc@44444444444/55555555555/@grp?batch=y
bulksms://aaaaaaaaaa:bbbbbbbbbb@admin?route=premium
bulksms://aaaaaaaaaa:bbbbbbbbbb@55555555555?unicode=maybe
bulksms://bbbbb:cccccccccc@44444444444?batch=y&unicode=n
bulksms://_?user=aaaaaaaaaa&password=bbbbbbbbbb&from=55555555555

Rejected URLs:

bulksms://aaaaaaaaaa:bbbbbbbbbb@admin?route=invalid
bulksms://_?user=aaaaaaaaaa&password=bbbbbbbbbb&from=555

Send one from the command line:

mercurio -t 'Backup' -b 'Finished in 42s' 'bulksms://aaaaaaaaaa:bbbbbbbbbb@55555555555'

Notes

BulkSMS (bulksms://): SMS through the BulkSMS API.