Webhooks API
Rotate Endpoint Secret
POST
TypeScript SDK
Path Parameters
The endpoint ID or UID
Body
application/json
Optional custom endpoint signing secret (base64 encoded random bytes optionally prefixed with whsec_). If not set, a new random secret is generated.
Example:
"whsec_C2FVsBQIhrscChlQIMV+b5sSYspob7oD"
Response
204
Secret rotated
TypeScript SDK