Rotate a webhook signing secret
Roll a webhook signing secret, copy the one-time replacement immediately, update the receiver, and verify new signatures after the old key stops.
Last reviewed
Webhook secret rotation is an immediate cutover. Dosya does not overlap old and new secrets: the previous value stops verifying as soon as Roll secret succeeds, and the replacement is shown once.

Steps
- Prepare access to the receiver’s secret store and deployment path before changing Dosya. Pause unrelated receiver changes and choose a low-traffic window because the replacement cannot be known in advance.
- Open Integrations → Webhooks, match the endpoint URL, and select Roll secret. Confirm your workspace role includes
manage_settings; an API credential needs Full access. - In Roll signing secret, read
The old secret stops working immediately - update your receiver before rolling.Choose Roll secret only when you can perform the cutover now. - In Signing secret, copy the new
whsec_…value and store it securely. Dosya reportsStore it securely - you won't see it again.and does not offer retrieval after the dialog closes. - Update and deploy the receiver, then remove the old value from its configuration. Pending retries read the endpoint’s current secret on their next attempt, so they will also arrive signed with the replacement.
- Choose Send test event, open Deliveries, and require Success plus a valid new signature at the receiver. Investigate any requests that arrived during the short rotation window before resuming normal operations.
Secret rolling is limited to ten requests per user per hour. The audit trail and integration notification identify the endpoint and actor but never store either secret.

Expected result
The receiver accepts deliveries signed with the one-time replacement and rejects the retired secret. New tests and later retries use the current secret, with no unsupported dual-secret period implied.
Roll secret failed means no confirmed replacement was returned. Keep the current receiver configuration, reload the endpoint, and retry only after checking the rate limit.
The dialog closed before copying. The value cannot be recovered. Roll again, copy the newly issued secret, and update the receiver promptly; the intermediate secret is already obsolete.
Related guides
Was this helpful?
Loading helpfulness results…
Voting saves a necessary ballot cookie for up to 180 days so you can change your answer.
Questions and replies
Ask about the steps in this guide. Questions are reviewed before publication.
Keep account details, credentials and private files out of public questions. Use private support for those.
Loading questions…
Sign in to your Dosya account to ask a question.