Regenerates the secret for a webhook
POST/accounts/:account_id/webhooks/:webhook_id/regenerate-secret
Immediately invalidates the old secret and generates a new one for a webhook.
Important: After regenerating, you must update your webhook handler with the new secret to continue verifying payloads. The old secret will no longer work.
Request
Responses
- 200
- 400
- 401
- 403
- 500
The new webhook secret was generated successfully.
Important: The new secret is only returned at this time. You must store it securely, as you will need it to verify the signature of incoming webhook requests.
A request is not valid and can't be processed.
A request is unauthorized.
A requested is forbidden.
A request failed due to an internal error.