Setup
1
Open webhook settings
Go to your GitHub repository, then navigate to Settings → Webhooks.
2
Add a webhook
Click Add webhook.
3
Paste your Hookdrop URL
Enter your capture URL in the Payload URL field:Replace
{your-token} with the token shown on your Hookdrop dashboard.4
Set the content type
Change Content type to
application/json. This ensures Hookdrop receives a structured JSON body you can inspect directly.5
Select events
Choose Let me select individual events and check the events relevant to your integration, or select Send me everything to capture all activity.
6
Save the webhook
Click Add webhook. GitHub fires a
ping event immediately — it appears in your Hookdrop dashboard within seconds to confirm the connection is working.GitHub sends a
ping event when you first register a webhook. You don’t need to handle it explicitly — Hookdrop captures it automatically so you can confirm delivery.Common events
Signature verification
GitHub signs every webhook request with anX-Hub-Signature-256 header. Verify it in your handler before processing any event.
github-webhook.ts
Testing locally
Next: Shopify
Set up Hookdrop to capture Shopify order, product, and customer events.
