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

Telnyx

Schemestelnyx://
Cargo featureservice-telnyx
Servicehttps://telnyx.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}://{apikey}@{from_phone}
{schema}://{apikey}@{from_phone}/{targets}

{schema} is one of telnyx://.

URL tokens

TokenMeaningTypeRequiredDefaultNotes
{apikey}API Keystringyessecret
{from_phone}From Phone Nostringyesmust match ^\+?[0-9\s)(+-]+$
{target_phone}Target Phone Nostringnoprefix +; must match ^[0-9\s)(+-]+$
{targets}Targetslistyesany of target_phone; separated by /

Query parameters

ParameterMeaningTypeDefaultNotes
fromFrom Phone Nostringmust match ^\+?[0-9\s)(+-]+$
keyAPI Keystringsets {apikey}
profileMessaging Profile IDstring
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):

telnyx://apikey@15551232000
telnyx://apikey@15551232000/15551232001/+1 555 123 2002
telnyx://apikey@15551232000?profile=prof-123
telnyx://apikey@15551232001/15551232002?from=15551232000
telnyx://15551232000?key=thekey&to=15551232001

Rejected URLs:

telnyx://
telnyx://15551232000
telnyx://apikey@123
telnyx://apikey@15551232001?from=abc

Send one from the command line:

mercurio -t 'Backup' -b 'Finished in 42s' 'telnyx://apikey@15551232000'

Notes

Telnyx (telnyx://): SMS through the Telnyx API.