Rotate an incoming webhook secret
POST/v1/webhooks/incoming/:webhook_id/regenerate-secret
Rotate an incoming webhook's signing secret and return the new one.
Like creation, the new secret is shown once and never again. The old secret stops being valid immediately, so update the calling system before rotating — anything still signing with the previous secret will be rejected.
Requires the webhooks:write scope.
Request
Responses
- 200
- 400
- 401
- 403
- 404
- 422
- 429
Successful Response
Error
Error
Error
Error
Validation Error
Error