apprise via webhook #780
Replies: 2 comments
-
|
Hey, when testing this by setting up a fake subscription with an expiration of tomorrow, I get the following request sent: It seems to add the "subscriptions" field and change the content-type as well. Has anyone else experienced this? It may be a bug as I cannot figure out another way to make it work. I have even tried setting the "replace subscriptions with..." field to body and it just overwrites "body":"..." to "body":[null,null] |
Beta Was this translation helpful? Give feedback.
-
|
Thanks for that @Noneangel. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Here is a working configuration for calling apprise via webhook using persistent configuration.
Settings
In settings page
https://wallos.example.com/settings.php>Notifications>Webhook:Enabled: ☑️Request Method:POSTWebhook URL:https://apprise.example.com/notify/KEYCustom Headers:["Content-Type: application/json"]Webhook Payload:{ "tag": "all", "title": "subscription {{subscription_name}} [{{subscription_category}}]", "body": "{{subscription_price}}{{subscription_currency}} in {{subscription_days_until_payment}} days\n{{subscription_url}}" }Replace {{subscriptions}} with key nameempty. Its usage is described here.Configuration
apprise.example.comandwallos.example.comby your websites.KEY(inWebhook URL) by your appriseKEY(parameterKEYis described in apprise.apps.merit.edu in/notify/KEYendpoint). It looks like a random string, likeb8c1aebcaab1879d59f8f8bec6fc16f2b3f20ad6822178673876fe7ae955f44fWebhook Payloadvalues:tag: correspond to--tagparameter in CLI usage.allto send to all services.title: title of notificationbody: body of notificationBeta Was this translation helpful? Give feedback.
All reactions