Skip to main content
POST
Rotate the signing secret

Authorizations

x-api-key
string
header
required

Your API key, from the API keys page of the app.

Path Parameters

id
string
required

The endpoint id (whe_…).

Example:

"whe_0192b5c4e7a87c3e9d1f2a6b4c8e0d13"

Body

application/json
overlapHours
number
default:0

Hours the old secret keeps signing beside the new one, so a receiver can switch without dropping events. 0 retires it now.

Required range: 0 <= x <= 24

Response

success
boolean
required
Example:

true

message
string
required
Example:

"WEBHOOK_CREATED"

data
object
required