User notification webhooks #12487

Open
opened 2025-11-02 10:11:26 -06:00 by GiteaMirror · 2 comments
Owner

Originally created by @hazycora on GitHub (Feb 15, 2024).

Feature Description

I’m proposing that Gitea add a new event type for webhooks for when the user receives a notification of any kind.

Gitea already allows setting webhooks for events on any of a user’s owned repositories, but this isn’t quite the same as user notifications. This distinction is important particularly for 3rd party clients. Normally, more specific event types are desired, but in the case of a client where notifications are meant to be shown to the user, it should provide the same events as the /notifications endpoint lists so that it behaves identically as on the website.

If there was a way to configure a webhook to send an event whenever actual user notifications are received, it would allow for instant notifications in mobile apps without needing to do any polling (And if this webhook could be added using a token, it would be completely seamless)

Screenshots

No response

Originally created by @hazycora on GitHub (Feb 15, 2024). ### Feature Description I’m proposing that Gitea add a new event type for webhooks for when the user receives a notification of any kind. Gitea already allows setting webhooks for events on any of a user’s owned repositories, but this isn’t quite the same as user notifications. This distinction is important particularly for 3rd party clients. Normally, more specific event types are desired, but in the case of a client where notifications are meant to be shown to the user, it should provide the same events as the `/notifications` endpoint lists so that it behaves identically as on the website. If there was a way to configure a webhook to send an event whenever actual user notifications are received, it would allow for instant notifications in mobile apps without needing to do any polling (And if this webhook could be added using a token, it would be completely seamless) ### Screenshots _No response_
GiteaMirror added the type/proposal label 2025-11-02 10:11:26 -06:00
Author
Owner

@stevapple commented on GitHub (Oct 28, 2024):

Add a +1 for OA connection. With such webhooks we can easily build bots to push user notifications directly to the user via a controlled IM.

@stevapple commented on GitHub (Oct 28, 2024): Add a +1 for OA connection. With such webhooks we can easily build bots to push user notifications directly to the user via a controlled IM.
Author
Owner

@kvaster commented on GitHub (Nov 30, 2024):

This feature would be really nice to have. Only email notification are not enough to be in touch immediatelly.

@kvaster commented on GitHub (Nov 30, 2024): This feature would be really nice to have. Only email notification are not enough to be in touch immediatelly.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/gitea#12487