feat(webhooks): add rotateSigningSecret() - #1089
Merged
Merged
Conversation
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
gabrielmfern
requested review from
lucasfcosta
and removed request for
a team
September 9, 2026 19:32
commit: |
klotty
approved these changes
Sep 9, 2026
klotty
left a comment
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.
Auto-approved: Adds a new SDK method, resend.webhooks.rotateSigningSecret, that calls the existing rotate endpoint with matching interfaces and tests. Additive, well-tested feature with no changes to existing behavior or operational tradeoffs.
Re-trigger cubic
gabrielmfern
requested review from
felipefreitag
and removed request for
lucasfcosta
September 9, 2026 19:51
felipefreitag
approved these changes
Sep 9, 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
resend.webhooks.rotateSigningSecret(id)forPOST /webhooks/{webhook_id}/signing-secret/rotate. The response is the create webhook shape (object,id,signing_secret), so the new interface file copies that. Followswebhooks.events.replay()from #1087 for layout, exports, test, and the minor version bump. Spec: resend/resend-openapi#113. Tracking: https://linear.app/resend/issue/DEV-2071.Claude wrote a script against staging from
dist/that creates a webhook, rotates its secret, removes it, then rotates again to hit the 404.live-rotate.mjs
🤖 Generated with Claude Code
Summary by cubic
Adds
resend.webhooks.rotateSigningSecret(id)so users can rotate a webhook's signing secret through the SDK, which previously had no method for this endpoint.New Features
POST /webhooks/{webhook_id}/signing-secret/rotate.signing_secret, matching the create webhook response shape.Written for commit 3f2146e. Summary will update on new commits.