Notification: Webhook #144

Closed
opened 2026-10-05 01:44:29 +02:00 by adam · 2 comments
Owner

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

Hey, it would be nice tif you can integrate native webhook for notifications. Thanks JO! <!-- github-sync-id:5044728583 -->
adam closed this issue 2026-10-05 01:44:29 +02:00
Author
Owner

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"}
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"} ``` <!-- github-comment-id:5161734900 -->
Author
Owner

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

BR/JO

Hey @arunavo4 That was fast...! 😜 many thanks! BR/JO <!-- github-comment-id:5162346817 -->
Sign in to join this conversation.
No labels
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: adam/gitea-mirror#144