Skip to main content

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

Successful Response