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

Trigv

Schemestrigv://, trigvs://
Cargo featureservice-trigv
Servicehttps://trigv.com/
Body formatstext (first is the default)
Attachmentsno
Title length255 characters
Body length1,000 characters
Body linesunlimited
Request throttlenone
Vendor URLs acceptedno

URL formats

{schema}://{api_key}
{schema}://{api_key}/{targets}
{schema}://{api_key}@{host}/{targets}
{schema}://{api_key}@{host}:{port}/{targets}
{schema}://{api_key}@{host}

{schema} is one of trigv://, trigvs://.

URL tokens

TokenMeaningTypeRequiredDefaultNotes
{api_key}API Keystringyessecret; must match ^trgv_[a-zA-Z0-9]{8}_[a-zA-Z0-9]{32}$
{host}API Hostnamestringno
{port}Portint, 1 to 65535no
{target_channel}Target Channelstringno
{targets}Targetslistnoany of target_channel; separated by /

Query parameters

ParameterMeaningTypeDefaultNotes
event_typeEvent typestring
image_urlImage URLstring
priorityPriority (Pushover compatibility)int
toTargetslistsets {targets}
urgencyUrgencychoicestandardone of standard, time_sensitive
urlURLstring

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

trigvs://trgv_a1b2c3d4_0123456789abcdef0123456789abcdef
trigvs://trgv_a1b2c3d4_0123456789abcdef0123456789abcdef/general
trigvs://trgv_a1b2c3d4_0123456789abcdef0123456789abcdef/ops/alerts
trigv://trgv_a1b2c3d4_0123456789abcdef0123456789abcdef@trigv-platform.test/general
trigvs://trgv_a1b2c3d4_0123456789abcdef0123456789abcdef@trigv-platform.test:8443/general
trigvs://trgv_a1b2c3d4_0123456789abcdef0123456789abcdef/?priority=1
trigvs://trgv_a1b2c3d4_0123456789abcdef0123456789abcdef/alerts/?to=ops,escalation
trigvs://trgv_a1b2c3d4_0123456789abcdef0123456789abcdef/?urgency=TIME_SENSITIVE

Rejected URLs:

trigvs://
trigv://
trigvs://trgv_a1b2c3d4_0123456789abcdef0123456789abcdef/?urgency=now
trigvs://not-a-valid-key

Send one from the command line:

mercurio -t 'Backup' -b 'Finished in 42s' 'trigvs://trgv_a1b2c3d4_0123456789abcdef0123456789abcdef'

Notes

Trigv (trigv://, trigvs://): notifications through Trigv.