Open the free webhook tester →
Point a GitHub webhook at a free ToolerCat URL and see every delivery: the event name, headers, JSON payload and whether the signature matches your secret.
Test GitHub webhooks in 4 steps
- Open the webhook tester and copy your URL.
- In your repository go to Settings → Webhooks → Add webhook. Paste the URL, choose
application/json, set a secret and pick the events. - GitHub immediately sends a
pingevent — it appears in the tester within a second. - Paste the secret in the tester and press Verify signature.
How GitHub signs webhooks
| Signature header | X-Hub-Signature-256: sha256=… |
|---|---|
| Signed string | the raw body |
| Algorithm | HMAC-SHA256 with your webhook secret, hex |
| Other headers | X-GitHub-Event (event name), X-GitHub-Delivery (unique ID), X-GitHub-Hook-ID |
# Python
import hmac, hashlib
mac = hmac.new(SECRET.encode(), raw_body, hashlib.sha256).hexdigest()
ok = hmac.compare_digest(request.headers["X-Hub-Signature-256"], "sha256=" + mac)
The old X-Hub-Signature header uses SHA-1 — use the SHA-256 one.
Events worth testing
ping— sent once when the webhook is created.push— branches and commits; checkrefanddeleted.pull_request— look ataction: opened, synchronize, closed (merged ispull_request.merged).workflow_run,release,issues,issue_comment.
Common problems
- Signature never matches: the content type is
application/x-www-form-urlencodedand your framework parsed it — switch to JSON or verify the raw bytes. - No retries: GitHub does not retry failed deliveries automatically. Redeliver from Recent Deliveries, or press Replay in the tester.
- Timeouts: GitHub expects a response within 10 seconds — queue the work.
- Duplicates: use
X-GitHub-Deliveryas an idempotency key.
Other providers: Adyen · Checkout.com · Shopify · Stripe