-
Notifications
You must be signed in to change notification settings - Fork 142
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: Add custom webhook as notification option #254
feat: Add custom webhook as notification option #254
Conversation
👀 FYI |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Perhaps it makes sense to rename NOTIFICATION_WEBHOOK
to NOTIFICATION_CUSTOM_WEBHOOK
?
For example, for Microsoft Teams we have:
NOTIFICATION_TEAMS
NOTIFICATION_TEAMS_WEBHOOK_URL
So maybe we can make it clear that it's a custom webhook rather than a service webhook?
Can you also please add docs to https://github.com/upptime/upptime.js.org/blob/master/docs/notifications.md and I can merge them at the same time? Thanks a lot for your hard work on this! |
Co-authored-by: Anand Chowdhary <[email protected]>
Co-authored-by: Anand Chowdhary <[email protected]>
@AnandChowdhary And thanks for the quick response |
🎉 This PR is included in version 1.38.0 🎉 The release is available on: Your semantic-release bot 📦🚀 |
Add the support of custom webhooks as notification endpoint
This would be the first step to solve upptime discussions 191
It uses
NOTIFICATION_WEBHOOK
boolean andNOTIFICATION_WEBHOOK_URL
for the URLOther configuration could be possible when this PR gets merged.
Thanks ✌️