Webhooks
Rotate signing secret
https://api.firstleeward.com/v0/webhooks/:id/rotate-secretMints a new HMAC signing secret and returns it exactly once. The previous secret is invalidated immediately; in-flight deliveries signed with the old secret will fail verification on your endpoint and be retried automatically by the platform.
Authorizations
Authorizationstring · headerrequiredAPI key as Bearer token, e.g. Bearer YOUR_API_KEY
Headers
Leeward-Versionenum<string>requiredAPI version (YYYY-MM-DD). Available option: 2026-09-18
Idempotency-KeystringUnique key for safely retrying this request. Up to 255 characters; we recommend a UUIDv4. The first request executes and its response is cached; subsequent requests with the same key replay the cached response (24h retention).
Path Parameters
idstring<uuid>requiredWebhook ID
Response
200Webhook with its newly minted signing secret. The previous secret is no longer accepted.
idstring<uuid>requiredUnique webhook identifier
namestringrequiredHuman-readable label
urlstringrequiredHTTPS endpoint that receives signed POSTs
statusstringrequiredLifecycle status. Disabled webhooks receive no deliveries.
ACTIVEDISABLEDmodestringrequiredInteraction pattern of the endpoint.
NOTIFICATIONREQUESTlastUsedAtstring<date-time> | nullrequiredTimestamp of the most recent successful delivery
createdAtstring<date-time>requiredISO 8601 creation timestamp
updatedAtstring<date-time>requiredISO 8601 last update timestamp
signingSecretstringrequiredHMAC signing secret. Returned exactly once. Store it securely - it cannot be retrieved again. The previous secret (if any) is invalidated immediately.
404Webhook not found
errorobjectrequiredShow child attributes
codestringrequiredmessagestringrequireddetailobject | nullrequired