tailscale-webhooks

Installation
SKILL.md

Tailscale Webhooks

When to Use This Skill

  • How do I receive Tailscale webhooks?
  • How do I verify the Tailscale-Webhook-Signature header?
  • How do I handle nodeCreated, nodeNeedsApproval, or nodeKeyExpiringInOneDay events?
  • How do I react to policyUpdate or userCreated events in a tailnet?
  • Why is my Tailscale webhook signature verification failing?

Verification (core)

Tailscale sends a Tailscale-Webhook-Signature header of the form t=<unix seconds>,v1=<hex>. v1 is the hex HMAC-SHA256 of "<t>.<raw body>", keyed with the webhook secret as a raw UTF-8 string (e.g. tskey-webhook-xxxxx, case-sensitive, shown once at creation). v1 is the only scheme. Docs suggest rejecting timestamps more than 5 minutes old, but retries (Tailscale's hourly ones and Hookdeck's) keep the original t, so the window is opt-in here (TAILSCALE_TIMESTAMP_TOLERANCE_SECONDS, default 0). Always sign over the raw body.

Installs
1
GitHub Stars
104
First Seen
Nov 10, 2026