Skip to content

feat(webhooks): add signing secret rotation endpoint - #277

Merged
gabrielmfern merged 2 commits into
mainfrom
feat/webhook-signing-secret-rotation
Sep 10, 2026
Merged

feat(webhooks): add signing secret rotation endpoint#277
gabrielmfern merged 2 commits into
mainfrom
feat/webhook-signing-secret-rotation

Conversation

@gabrielmfern

@gabrielmfern gabrielmfern commented Sep 9, 2026

Copy link
Copy Markdown
Member

Adds resend.Webhooks.rotate_signing_secret(webhook_id) and its async twin for POST /webhooks/{webhook_id}/signing-secret/rotate, returning RotateSigningSecretResponse with the same object, id, signing_secret shape as create webhook. Mirrors the event replay endpoint from #274 in layout, tests, and the examples/webhooks.py walkthrough.

Spec: resend/resend-openapi#113
Linear: https://linear.app/resend/issue/DEV-2072

🤖 Generated with Claude Code


Summary by cubic

Adds a signing secret rotation endpoint so users can rotate a webhook's signing secret without recreating it.

  • Adds resend.Webhooks.rotate_signing_secret(webhook_id) and the async twin rotate_signing_secret_async.
  • Returns a new RotateSigningSecretResponse with the same object, id, and signing_secret shape as the create webhook response.
  • Mirrors the existing event replay endpoint in structure, tests, and the examples/webhooks.py walkthrough.
  • Bumps the package version to 2.44.0.

Written for commit 99cb3b0. Summary will update on new commits.

Review in cubic

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Comment thread examples/webhooks.py Dismissed

@cubic-dev-ai cubic-dev-ai Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

All reported issues were addressed across 4 files

Reply with feedback, questions, or to request a fix.

Re-trigger cubic

Comment thread examples/webhooks.py
Comment thread examples/webhooks.py
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>

@cubic-dev-ai cubic-dev-ai Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

0 issues found across 1 file (changes from recent commits).

Confidence score: 5/5

  • Automated review surfaced no issues in the provided summaries.
  • No files require special attention.

Requires human review: Auto-approval blocked by 2 unresolved issues from previous reviews.

Re-trigger cubic

@gabrielmfern
gabrielmfern merged commit 729eaa4 into main Sep 10, 2026
20 checks passed
@gabrielmfern
gabrielmfern deleted the feat/webhook-signing-secret-rotation branch September 10, 2026 14:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants