feat(webhooks): add events.replay() - #1087
Merged
Merged
Conversation
commit: |
Contributor
There was a problem hiding this comment.
No issues found across 5 files
Confidence score: 5/5
- Automated review surfaced no issues in the provided summaries.
- No files require special attention.
Requires human review: Adds a new public POST API method that triggers an additional webhook delivery. Approval requires human sign-off on this externally observable replay contract and its delivery semantics.
Re-trigger cubic
This was referenced Sep 3, 2026
gabrielmfern
marked this pull request as ready for review
September 3, 2026 13:31
felipefreitag
approved these changes
Sep 3, 2026
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.
Adds
POST /webhooks/{webhook_id}/events/{event_id}/replayasresend.webhooks.events.replay(), next to the existingevents.get(). Replaying queues one more delivery of the event to the webhook, same as the dashboard's Replay button; manual replays do not schedule automatic retries.Also bumps the package version from 6.25.0 to 6.26.0 (same as #1083 did for the event endpoints).
Checks:
pnpm install --frozen-lockfileokpnpm lintokpnpm typecheckokpnpm testok (36 files, 419 passed)pnpm buildokNot done: no live API call (write endpoint, no key configured). No CHANGELOG entry, following #1083.
Part of DEV-2005.
Linear: https://linear.app/resend/issue/DEV-2008
Summary by cubic
Adds
resend.webhooks.events.replay()to queue one more delivery of a webhook event, matching the dashboard's Replay button. Manual replays do not schedule automatic retries. Bumps the package version to 6.26.0.Written for commit aae172b. Summary will update on new commits.