webhooks_regenerate_secret
Rotate a webhook endpoint's HMAC-SHA256 signing secret, invalidating the previous key. The new secret is returned only in this response, so store it safely.
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) |