feat: add webhook endpoints for external trigger integrations#116
Merged
David-patrick-chuks merged 1 commit intoJun 21, 2026
Merged
Conversation
- Add webhook service with file and database storage - Add HMAC signature verification for secure webhook delivery - Add endpoints: POST/GET/DELETE /api/webhooks, PATCH /api/webhooks/:id - Add /api/webhooks/events to list valid event types - Add /api/webhooks/:id/test to send test events - Add /api/webhooks/trigger for manual event triggering - Add 22 comprehensive tests for webhook functionality - Support 7 event types: action.login/interact/dm/post/error, schedule.completed/failed
Owner
|
Thanks @Heazzy500 — great follow-up to #113. This directly hits the roadmap item for webhook endpoints for external triggers. What looks good:
Merging now. Small follow-up for a future PR: add a Appreciate the contribution! |
f1dc8ee
into
David-patrick-chuks:main
2 checks passed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Roadmap Alignment
This PR implements the roadmap item under API and Dashboard:
[ ] Webhook endpoints for external triggersNew Endpoints
/api/webhooks/events/api/webhooks/api/webhooks/api/webhooks/:id/api/webhooks/:id/api/webhooks/:id/test/api/webhooks/triggerEvent Types
action.login- User login eventsaction.interact- Post interaction eventsaction.dm- Direct message eventsaction.post- New post eventsaction.error- Error eventsschedule.completed- Scheduled post completedschedule.failed- Scheduled post failedSecurity
Test plan
POST /api/webhooksGET /api/webhooksPOST /api/webhooks/:id/testDELETE /api/webhooks/:id