Skip to main content
POST
Rotate a webhook endpoint secret

Authorizations

X-Kit-Api-Key
string
header
required

Authenticate API requests via an API Key

Path Parameters

id
integer
required

Body

application/json
force
boolean

Rotating again while a previous rotation's overlap window is still open returns 409 (see the responses below). Pass true to rotate anyway, immediately expiring the older secret.

Response

Rotates the secret and returns the new one

webhook_endpoint
object
required