EaserixDocs
DevelopersAPI referenceLinksWebhooks

Regenerate a webhook's signing secret

Issues a fresh signing secret for the webhook, shown once (same as creation). Hard cutover: the old secret stops verifying immediately — any delivery enqueued after this call signs with the new secret. url, events, active, and delivery history/counters are unaffected, unlike delete-and-recreate.

View as Markdown
POST
/v1/webhooks/{id}/regenerate-secret
AuthorizationBearer <token>

In: header

Path Parameters

id*string

Response Body

application/json

application/json

application/json

application/json

application/json

application/json

curl -X POST "https://example.com/v1/webhooks/string/regenerate-secret"
{  "webhook": {    "id": "string",    "url": "string",    "events": [      "string"    ],    "active": true,    "failureCount": 0,    "lastStatus": 0,    "lastDelivery": "2019-08-24T14:15:22Z",    "droppedCount": 0,    "secret": "string",    "secretFingerprint": "string",    "created": "2019-08-24T14:15:22Z"  }}