You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
💡 Idea
I'm thinking of using webhooks on webex (https://developer.webex.com/docs/api/v1/webhooks/create-a-webhook) to send push messages via ntfy to my phone when there are new messages, which works fine. However, the request send by webex looks something like this (some information stripped):
Therefore (as expected) the notification message is the json body, which doesn't look nice. Since the only real option to modify that request that webex offers is the targetUrl, I thought it would be nice to have the same options mentioned here, but for POST requests and therefore just ignore the body when the ?message="..." parameter is present.
What would be even nicer, is an option to use string interpolation on the parameters, reading values from the body via jsonpath.
For example: If I were to configure the targetUrl in webex as
https://ntfy.sh/webex?message="New message from {{$.data.personEmail}}"
Ntfy would parse the json body and set the message of the notification to "New message from <email>".
💻 Target components
ntfy server
The text was updated successfully, but these errors were encountered:
💡 Idea
I'm thinking of using webhooks on webex (https://developer.webex.com/docs/api/v1/webhooks/create-a-webhook) to send push messages via ntfy to my phone when there are new messages, which works fine. However, the request send by webex looks something like this (some information stripped):
Therefore (as expected) the notification message is the json body, which doesn't look nice. Since the only real option to modify that request that webex offers is the
targetUrl
, I thought it would be nice to have the same options mentioned here, but for POST requests and therefore just ignore the body when the?message="..."
parameter is present.What would be even nicer, is an option to use string interpolation on the parameters, reading values from the body via jsonpath.
For example: If I were to configure the
targetUrl
in webex asNtfy would parse the json body and set the
message
of the notification to "New message from <email>".💻 Target components
The text was updated successfully, but these errors were encountered: