Repository navigation
feat(webhooks): add signing secret rotation endpoint - #109
Conversation
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
There was a problem hiding this comment.
All reported issues were addressed across 2 files
Reply with feedback, questions, or to request a fix.
Re-trigger cubic
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
There was a problem hiding this comment.
All reported issues were addressed across 2 files (changes from recent commits).
Reply with feedback, questions, or to request a fix.
Re-trigger cubic
…ing secret Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
There was a problem hiding this comment.
All reported issues were addressed across 1 file (changes from recent commits).
Tip: Review your code locally with the cubic CLI to iterate faster.
Re-trigger cubic
There was a problem hiding this comment.
All reported issues were addressed across 2 files (changes from recent commits).
Tip: Review your code locally with the cubic CLI to iterate faster.
Re-trigger cubic
Adds
WebhookSvc::rotate_signing_secretforPOST /webhooks/{webhook_id}/signing-secret/rotate, next toreplay_event, plus theRotateWebhookSigningSecretResponsetype re-exported fromresend_rs::types. The response is the same shape as create webhook: the webhook id and the newwhsec_secret; the old secret stops verifying as soon as the call returns. Offered for the maintainer's review, no version bump and no CHANGELOG entry, matching #107.No live call was made against the endpoint (write endpoint, no key configured), so the response shape is taken from the spec PR.
Spec PR: resend/resend-openapi#113
Linear: https://linear.app/resend/issue/DEV-2078
🤖 Generated with Claude Code
Summary by cubic
Adds
WebhookSvc::rotate_signing_secretforPOST /webhooks/{webhook_id}/signing-secret/rotate, returning aRotateWebhookSigningSecretResponsewith the webhook id and newwhsec_secret; the old secret stays valid for 24 hours.webhook::rotate_signing_secret.Written for commit f98356b. Summary will update on new commits.