feat(webhooks): add event replay command - #381
Merged
Merged
Conversation
gabrielmfern
marked this pull request as ready for review
September 4, 2026 15:10
Contributor
There was a problem hiding this comment.
All reported issues were addressed across 8 files
Reply with feedback, questions, or to request a fix.
Fix all with cubic | Re-trigger cubic
Signed-off-by: Gabriel Miranda <gabriel@resend.com>
gabrielmfern
force-pushed
the
feat/webhook-event-replay
branch
from
September 4, 2026 15:32
7628e2a to
1cdcaca
Compare
felipefreitag
approved these changes
Sep 4, 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.
What
Adds
resend webhooks events replay <webhookId> <eventId>, mirroringwebhooks events get's argument parsing, prompts, and help text. Queues one more delivery of a webhook event — the same action as the dashboard's Replay button.{"object":"webhook_event","id":"msg_1srOrx2ZWZBpBUvZwXKQmoEYga2"}(response shape per the spec — no live call was made; see below)
Blocked on resend-node 6.26.0 publish
replay()ships in resend/resend-node#1087, open and not yet published to npm.package.jsonis bumped toresend@6.26.0anyway to match convention, so:pnpm install --frozen-lockfilewill fail in CI (404 fetchingresend@6.26.0) until that version is published.pnpm-lock.yamlintegrity hash forresend@6.26.0is computed from a local build of the resend-node PR branch, not the real npm tarball — it must be regenerated (pnpm install, unfrozen) once 6.26.0 actually publishes.pnpm lint,pnpm typecheck,pnpm test(137 files, all passing), andpnpm buildall pass against it.Keeping this in draft until resend-node 6.26.0 is published, at which point the lockfile needs a refresh before merging.
resend/resend-node#1087, resend/resend-openapi#112, resend/resend-monorepo#9535
Part of DEV-2005.
Linear: https://linear.app/resend/issue/DEV-2017