webhooks_regenerate_secret
Regenerate a webhook endpoint's HMAC-SHA256 signing secret, invalidating the old secret and returning the new one only once; store it securely and update verification logic.
Instructions
Issue a new HMAC-SHA256 signing secret for a webhook endpoint, immediately invalidating the previous one. The new secret is returned in full only in this response — store it securely. Update your endpoint verification logic before calling this in production.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| uuid | Yes | Webhook endpoint UUID to regenerate the secret for | |
| companyId | No | Company UUID (overrides STORNO_COMPANY_ID env var) |