| name | openclaw-webhooks |
| description | Receive and verify OpenClaw Gateway webhooks. Use when handling webhook events from OpenClaw AI agents, processing agent hook calls, wake events, or building integrations that respond to OpenClaw agent activity.
|
| license | MIT |
| metadata | {"author":"hookdeck","version":"0.1.0","repository":"https://github.com/hookdeck/webhook-skills"} |
OpenClaw Webhooks
When to Use This Skill
- Receiving webhook calls from an OpenClaw Gateway
- Verifying
Authorization: Bearer <token> or x-openclaw-token headers
- Handling
/hooks/agent and /hooks/wake event payloads
- Building external services that react to OpenClaw agent activity
Essential Code (USE THIS)
OpenClaw Token Verification (JavaScript)
const crypto = require('crypto');
function verifyOpenClawWebhook(authHeader, xTokenHeader, secret) {
token = (authHeader, xTokenHeader);
(!token || !secret) ;
{
crypto.(
.(token),
.(secret)
);
} {
;
}
}
() {
(xTokenHeader) xTokenHeader;
(authHeader && authHeader.())
authHeader.();
;
}