IFTTT
| Schemes | ifttt:// |
| Cargo feature | service-ifttt |
| Service | https://ifttt.com/ |
| Body formats | text (first is the default) |
| Attachments | no |
| Title length | 250 characters |
| Body length | 32,768 characters |
| Body lines | unlimited |
| Request throttle | none |
| Vendor URLs accepted | yes |
URL formats
{schema}://{webhook_id}/{events}
{schema} is one of ifttt://.
URL tokens
| Token | Meaning | Type | Required | Default | Notes |
|---|---|---|---|---|---|
{events} | Events | list | yes | separated by / | |
{webhook_id} | Webhook ID | string | yes | secret |
Query parameters
| Parameter | Meaning | Type | Default | Notes |
|---|---|---|---|---|
to | Events | list | sets {events} |
Prefixed parameters:
+name=value: Add Tokens-name=value: Remove Tokens
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):
ifttt://WebHookID@EventID
ifttt://WebHookID@zeta/alpha/beta/
https://maker.ifttt.com/use/WebHookID/EventID/
http://maker.ifttt.com/use/WebHookID/EventID/Other
ifttt://WebHookID@ev/ev/?to=ev
https://maker.ifttt.com/use/WebHookID/EventID/?to=More
ifttt://WebHookID@EventID/?-Value1=&-value2
ifttt://WebHookID?to=EventID,EventID2
Rejected URLs:
ifttt://
ifttt://:@/
ifttt://EventID/
https://maker.ifttt.com/use/WebHookID/
Send one from the command line:
mercurio -t 'Backup' -b 'Finished in 42s' 'ifttt://WebHookID@EventID'
Notes
IFTTT (ifttt://): triggers IFTTT Webhooks events with the notification as values.
Differences with Apprise
- Apprise ignores
+/-options (attribute typo), while mercurio applies them.