Anton.Docs
Dashboard (opens in a new tab)

Rotate the signing secret

POST/v1/webhooks/{id}/secret/rotateIdempotency-Key required
The request matches the contract.

Parameters

string · path · required
Webhook subscription ID (prefixed `whk_`).
string · header · required
Unique key identifying this operation. Sending the same key twice returns the original
string · query
End the previous secret now instead of after 24 hours.