Skip to main content
POST
Rotate Webhook Secret

Authorizations

Authorization
string
header
required

API key must be provided in the Authorization header

Path Parameters

id
integer
required

Unique identifier of the webhook whose signing secret is being rotated.

Response

Success; returns {success: true, webhook: object} where webhook includes the new webhook_secret (revealed once only)

success
boolean

Always true on success.

webhook
object

The webhook object with id, user_id, name, webhook_url, event_types, created_at, updated_at, and the new webhook_secret.