ResoneraDocs
Webhooks

Rotate the signing secret

POST
/webhooks/endpoints/{endpoint_id}/rotate-secret

Replaces the endpoint's signing secret. Events signed after this request use the new secret, which is returned only once.

Requires the webhooks:manage scope.

Authorization

apiKey
headerX-API-Key<token>

Your API key, from Settings → API access in the dashboard.

Path Parameters

endpoint_id*string

The webhook endpoint's id.

Formatuuid

Response Body

The new secret.

application/json
curl -X POST "https://example.com/webhooks/endpoints/497f6eca-6276-4993-bfeb-53cbbbba6f08/rotate-secret"
{  "id": "96142427-37a9-4881-94fb-96b9f8f49610",  "secret": "whsec_Qm2v..."}