Rotate a webhook endpoint's signing secret

Replaces the endpoint's signing secret with a new one, generated or your own (secret, "whsec_" and the base64 of
24 to 64 bytes), shown in this response only. Deliveries are signed with both secrets until the old one expires,
after previous_secret_expires_in seconds: a day unless you say, at most 7 days, and 0 to end it at once.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Path Params
string
required
Body Params
string
integer
0 to 604800
Defaults to 86400
Responses

404

When it isn't one of your endpoints

Language
Credentials
Basic
base64
:
URL
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json