Implement secure webhook systems for event-driven integrations, including signature verification, retry logic, and delivery guarantees. Use when building third-party integrations, event notifications, or real-time data synchronization.
Implement robust webhook systems for event-driven architectures, enabling real-time communication between services and third-party integrations.
Minimal working example:
import crypto from "crypto";
import axios from "axios";
interface WebhookEvent {
id: string;
type: string;
timestamp: number;
data: any;
}
interface WebhookEndpoint {
url: string;
secret: string;
events: string[];
active: boolean;
}
interface DeliveryAttempt {
attemptNumber: number;
timestamp: number;
statusCode?: number;
error?: string;
duration: number;
}
// ... (see reference guides for full implementation)
Detailed implementations in the references/ directory:
| Guide | Contents | |---|---| | Webhook Sender (TypeScript) | Webhook Sender (TypeScript) | | Webhook Receiver (Express) | Webhook Receiver (Express) | | Webhook Queue with Bull | Webhook Queue with Bull | | Webhook Testing Utilities | Webhook Testing Utilities |
Copy a source-pinned command for your client. You run it yourself.
Destination: .claude/skills/webhook-integration · pinned to the source commit
git clone https://github.com/aj-geddes/useful-ai-prompts.git
cd useful-ai-prompts
git checkout 3f5182cfd739fc113f4af5244a1cf342ad7f7911
mkdir -p ".claude/skills/webhook-integration"
cp -r "skills/webhook-integration" ".claude/skills/webhook-integration"Review the source before running. This copies files into your project; it is not a one-click install and does not verify runtime safety.
Scanner static-checks@0.1.0 · commit 3f5182cfd739. Static checks cannot prove runtime safety – review the source and the exact diff before installing. How checks work.
No static rules matched. This is not a safety guarantee.