Skip to main content
Generates a new hook key and immediately invalidates the old one. Only the hook’s creator can call this endpoint. Returns { "hookKey": "new-hex-key" }.
The old key stops working as soon as rotation completes. Update the CRUSTOCEAN_HOOK_KEY environment variable in your backend immediately after rotating.
Uses standard bearer token authentication. For the legacy webhook_url-based rotation, see Rotate Hook Key.