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

Africas Talking

Schemesatalk://
Cargo featureservice-africastalking
Servicehttps://africastalking.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}://{appuser}@{apikey}/{targets}

{schema} is one of atalk://.

URL tokens

TokenMeaningTypeRequiredDefaultNotes
{apikey}API Keystringyessecret; must match ^[A-Z0-9_-]+$
{appuser}App User Namestringyesmust match ^[A-Z0-9_-]+$
{target_phone}Target Phonestringno
{targets}Targetslistyesany of target_phone; separated by /

Query parameters

ParameterMeaningTypeDefaultNotes
apikeyAPI Keystringsets {apikey}
batchBatch Modeboolno
fromFromstringAFRICASTKNG
modeSMS Modechoicebulksmsone of bulksms, premium, sandbox
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):

atalk://user@apikey/11111111111/
atalk://user@apikey/+254711000111
atalk://user@apikey/123/33333333333/abcd/+44444444444
atalk://user@apikey/+44444444444?mode=s
atalk://user@apikey/+44444444444/55555555555?batch=y
atalk://11111111111?apikey=key&user=user&from=FROMUSER
atalk://_?user=user&to=11111111111,22222222222&key=bbbbbbbbbb&from=5555555555555

Rejected URLs:

atalk://
atalk://:@/
atalk://user@^/
atalk://user@apikey/+44444444444?mode=invalid

Send one from the command line:

mercurio -t 'Backup' -b 'Finished in 42s' 'atalk://user@apikey/11111111111/'

Notes

Africa’s Talking (atalk://): SMS through the Africa’s Talking messaging API.