get
https://example.com
POST /v2/webhooks/{webhook}/actions/revertSecret — Undo secret rotation
Recent Requests
Log in to see full request history
| Time | Status | User Agent | |
|---|---|---|---|
Retrieving recent requests… | |||
Loading…
Restores the signing secret that was active before the most recent rotateSecret call. Only available while the 24-hour grace window is still open (previousCredentialsExpiresAt is in the future).
The reverted secret value is not returned — it was shown at the time of original creation or the previous rotation.
Required role
affiliate_super_admin
Response 200
200{
"id": "webhook::abc123",
"webhookId": "webhook::abc123",
"reverted": true,
"previousCredentialsExpiresAt": null,
"lastRotatedAt": "2026-05-30T12:00:00.000Z"
}Errors
| Status | Description |
|---|---|
400 | No previous secret available (never rotated) |
400 | Grace period has expired (> 24 h since rotation) |
400 | Webhook signing is not enabled |
404 | Webhook not found |
