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

Société Française du Radiotéléphone

Schemessfr://
Cargo featureservice-sfr
Servicehttps://www.sfr.fr/
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}://{user}:{password}@{space_id}/{targets}

{schema} is one of sfr://.

URL tokens

TokenMeaningTypeRequiredDefaultNotes
{password}Service Passwordstringyessecret
{space_id}Space IDstringyessecret
{target}Recipient Phone Numberstringnomust match ^\+?[0-9\s)(+-]+$
{targets}Targetslistyesany of target; separated by /
{user}Service IDstringyes

Query parameters

ParameterMeaningTypeDefaultNotes
langLanguagestringfr_FR
mediaMedia TypestringSMSUnicodeone of SMS, SMSLong, SMSUnicode, SMSUnicodeLong
senderSender Namestringalso from
timeoutTimeoutint2880
toTargetslistsets {targets}
voiceTTS Voicestringclaire08sone of claire08s, laura8k

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

sfr://service_id:service_password@000/0000000000
sfr://service_id:service_password@000/0000000000?media=SMS
sfr://service_id:service_password@000/0000000000?from=MyApp&timeout=30
sfr://service_id:service_password@000/0000000000?voice=laura8k&lang=en_US
sfr://srv:pwd@11111111/0000000000?sender=&from=B&timeout=%2012%20
sfr://srv:pwd@11111111/0000000000?sender=A&from=B&timeout=abc&media=SMSUnicodeLong

Rejected URLs:

sfr://
sfr://:@/
sfr://:service_password
sfr://testing:serv@ice_password

Send one from the command line:

mercurio -t 'Backup' -b 'Finished in 42s' 'sfr://service_id:service_password@000/0000000000'

Notes

SFR (sfr://): SMS through SFR.