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

Octopush

Schemesoctopush://
Cargo featureservice-octopush
Servicehttps://octopush.com/
Body formatstext (first is the default)
Attachmentsno
Title lengthno title (merged into the body)
Body length1,224 characters
Body linesunlimited
Request throttlenone
Vendor URLs acceptedno

URL formats

{schema}://{api_login}/{api_key}/{targets}
{schema}://{sender}:{api_login}/{api_key}/{targets}

{schema} is one of octopush://.

URL tokens

TokenMeaningTypeRequiredDefaultNotes
{api_key}API Keystringyessecret
{api_login}API Loginemailyessecret
{sender}Senderstringno
{target_phone}Target Phone Nostringnoprefix +; must match ^[0-9\s)(+-]+$
{targets}Targetslistnoany of target_phone; separated by /

Query parameters

ParameterMeaningTypeDefaultNotes
batchBatch Modeboolno
keyAPI Keystringsets {api_key}
loginAPI Loginemailsets {api_login}
purposePurposechoicealertone of alert, wholesale
repliesAccept Repliesboolno
toTargetslistsets {targets}
typeTypechoicesms_premiumone of sms_premium, sms_low_cost

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

octopush://user@myaccount.com/apikey/+0987654321
octopush://user@myaccount.com/apikey/1111111111/33333333333
octopush://sender:user@myaccount.com/apikey/1111111111/222/33333333333/?batch=yes
octopush://user@myaccount.com/apikey/+3333333333?replies=yes
octopush://?login=user@myaccount.com&key=key&to=9999999999&type=premium
octopush://_?key=abc123&login=user@myaccount.com&sender=abc&to=2222222222
octopush://?login=user@myaccount.com&key=key&to=9999999999&purpose=WholeSale

Rejected URLs:

octopush://
octopush://:@/
octopush://user@myaccount.com
octopush://_/apikey?login=invalid

Send one from the command line:

mercurio -t 'Backup' -b 'Finished in 42s' 'octopush://user@myaccount.com/apikey/+0987654321'

Notes

Octopush SMS (octopush://): SMS through the Octopush API.