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

46elks

Schemes46elks://, elks://
Cargo featureservice-fortysixelks
Servicehttps://46elks.com
Body formatstext (first is the default)
Attachmentsno
Title lengthno title (merged into the body)
Body length160 characters
Body linesunlimited
Request throttlenone
Vendor URLs acceptedyes

URL formats

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

{schema} is one of 46elks://, elks://.

URL tokens

TokenMeaningTypeRequiredDefaultNotes
{from_phone}From Phone Nostringyes
{password}API Passwordstringyessecret
{target_phone}Target Phonestringno
{targets}Targetslistnoany of target_phone; separated by /
{user}API Usernamestringyes

Query parameters

ParameterMeaningTypeDefaultNotes
fromFrom Phone Nostringsets {from_phone}
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):

elks://user:pass@+15551234123/
46elks://user:pass@+15551234556
46elks://user:pass@Acme/15551234512/%2B15551234513
46elks://user:pass@+15551234567/+46701234534?from=Acme
https://user1:pass@api.46elks.com/a1/sms/?to=15551234511
https://user1:pass@api.46elks.com/a1/sms?to=+15551234511&from=Acme
46elks://user:pass@Acme?to=15551234511,+15551234512

Rejected URLs:

46elks://
46elks://user@/
46elks://:pass@/

Send one from the command line:

mercurio -t 'Backup' -b 'Finished in 42s' 'elks://user:pass@+15551234123/'

Notes

46elks (46elks://, elks://): SMS through the 46elks API.