Menu

Rotate a webhook signing secret

POST/v1/webhooks/{id}/rotate-secret

Requires an API key with the webhooks:write scope. About keys and scopes

Returns a new secret once. For 24 hours requests carry signatures from both the new and the old secret, so the receiver can switch without dropping events.

Path parameters

idstringrequired

uuid

Returns

Returns 200 OK with a CreatedWebhook in data. Otherwise returns an error; Errors lists every code and which to retry.

idstringrequired

uuid

urlstringrequired

uri

eventsstring[]required

The event types it receives.

sourcestring | nullrequired

The integration that created it; null when created directly.

one of zapier, make, n8n, http_api

statusstringrequired

disabled is set only by the platform; active re-enables it.

one of active, paused, disabled

previousSecretExpiresAtstring | nullrequired

Until when the replaced secret still signs requests after a rotation.

date-time

circuitOpenUntilstring | nullrequired

While set and in the future, deliveries to this endpoint wait: it failed five requests in a row. The next request after it is a probe; a success clears it.

date-time

createdAtstringrequired

date-time

secretstringrequired

Signs every delivery; shown once, here.