[GH-ISSUE #352] Notification: Webhook #7393

Closed
opened 2026-08-21 19:51:11 -05:00 by GiteaMirror · 2 comments
Owner

Originally created by @jostrasser on GitHub (Aug 2, 2026).
Original GitHub issue: https://github.com/RayLabsHQ/gitea-mirror/issues/352

Originally assigned to: @arunavo4 on GitHub.

Hey,
it would be nice tif you can integrate native webhook for notifications.
Thanks JO!

Originally created by @jostrasser on GitHub (Aug 2, 2026). Original GitHub issue: https://github.com/RayLabsHQ/gitea-mirror/issues/352 Originally assigned to: @arunavo4 on GitHub. Hey, it would be nice tif you can integrate native webhook for notifications. Thanks JO!
GiteaMirror added the enhancement label 2026-08-21 19:51:11 -05:00
Author
Owner

@arunavo4 commented on GitHub (Aug 3, 2026):

Good idea, this is in now. Shipped with v3.23.0.

You'll find a new Webhook option under Settings → Notifications. It sends a JSON POST with title, message, type and timestamp to any URL you give it. If you set the optional signing secret, each request also gets an X-Webhook-Signature header (HMAC-SHA256 of the body) so you can verify it on the receiving end.

Webhook notification settings

Example of what your endpoint receives:

{"title":"Gitea Mirror - Test Notification","message":"This is a test notification from Gitea Mirror. If you see this, notifications are working correctly!","type":"sync_success","timestamp":"2026-08-03T02:33:29.707Z"}
<!-- gh-comment-id:5161734900 --> @arunavo4 commented on GitHub (Aug 3, 2026): Good idea, this is in now. Shipped with [v3.23.0](https://github.com/RayLabsHQ/gitea-mirror/releases/tag/v3.23.0). You'll find a new Webhook option under Settings → Notifications. It sends a JSON POST with title, message, type and timestamp to any URL you give it. If you set the optional signing secret, each request also gets an `X-Webhook-Signature` header (HMAC-SHA256 of the body) so you can verify it on the receiving end. ![Webhook notification settings](https://gist.githubusercontent.com/arunavo4/ce67ba58f3795c572a76c000e40ec415/raw/d7c7d391b04459dc21bfda453d9188d2bb388479/webhook-settings.png) Example of what your endpoint receives: ```json {"title":"Gitea Mirror - Test Notification","message":"This is a test notification from Gitea Mirror. If you see this, notifications are working correctly!","type":"sync_success","timestamp":"2026-08-03T02:33:29.707Z"} ```
Author
Owner

@jostrasser commented on GitHub (Aug 3, 2026):

Hey @arunavo4
That was fast...! 😜 many thanks!

BR/JO

<!-- gh-comment-id:5162346817 --> @jostrasser commented on GitHub (Aug 3, 2026): Hey @arunavo4 That was fast...! 😜 many thanks! BR/JO
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/gitea-mirror#7393