Skip to main content
POST
Rotate webhook secret

Authorizations

Authorization
string
header
required

API key (sk_test_... or sk_live_...)

Path Parameters

code
string<uuid>
required

Code of the webhook endpoint: the code returned when the endpoint is created (POST /webhooks).

Response

New secret generated

success
boolean
Example:

true

data
object