Skip to main content
Use signup webhooks to hear about new signups without polling. You register an HTTPS endpoint, and Huntd sends it a POST request when someone at one of your tracked accounts signs up for a source (a product Huntd tracks, such as devin).

Registering an endpoint

Go to Settings → API & webhooks in the Huntd Dashboard.
1

Add your URL

It must be a public https:// URL. Redirects are not followed.
2

Copy your signing secret

You get a signing secret (whsec_…). You use it to check that a request really came from Huntd. Unlike an API key, the secret stays readable in Settings, because you need it to verify our signature. It grants no access to Huntd.
3

Send a test

Click Send test to fire a synthetic event. This confirms your receiver works before any real traffic arrives.

The request we send

Headers:
Body:

Fields

string
Event type. Only signup exists today.
string
Unique event ID. Use it to detect duplicates. See Delivery behaviour.
string
UTC timestamp of when we detected the signup.
string
Your organization’s domain.
string
When we confirmed this person is a user.
string
When we last confirmed they were not a user. The signup happened between these two timestamps.

Verifying the signature

Check the signature on every request before you trust it:
  1. Read the X-Huntd-Timestamp and X-Huntd-Signature headers.
  2. Compute HMAC-SHA256 over `${timestamp}.${rawBody}`, using your signing secret as the key.
  3. Compare your result to X-Huntd-Signature (after the sha256= prefix).
  4. Reject the request if the timestamp is older than about 5 minutes.
Use the raw request body, before JSON parsing. If you parse the JSON and serialize it again, the bytes change and the signature will not match.
The timestamp is part of the signed material. So an attacker cannot capture a payload and replay it with a fresh timestamp header.

Example receiver

This Express handler keeps the raw body, verifies it, replies fast, and ignores event types it does not know. It uses the verify function above.

Delivery behaviour

  • Acknowledge with any 2xx. The timeout is 10 seconds. Respond fast, and do your work asynchronously.
  • Retries: 5 attempts with backoff (1 minute, 5 minutes, 30 minutes, 2 hours, 6 hours). After that, the delivery is marked failed.
  • Redirects are not followed.
  • No replay on registration. A newly registered endpoint only gets events from “now” on. To backfill older signups, use /people?discovered_days=N.

At-least-once delivery

“At-least-once” means you may receive the same event more than once. Each event is queued at most once per endpoint. So retrying a failed delivery does not create duplicates. But if we time out after your server already processed the event, the retry is a real duplicate.
Use id to detect duplicates, and make your handler idempotent (safe to run twice on the same event). This is the most common cause of double-processing.

Unknown event types

Only event: "signup" exists today. But every payload names its event type, in both the event field and the X-Huntd-Event header. Ignore event types you do not recognize instead of returning an error. That way, new event types will not break your receiver.

Two caveats worth reading

The event fires when Huntd detects the signup, not the moment it happens. We re-verify accounts daily and check for changes hourly. So an event usually arrives within a few hours.That is timely enough for a Slack alert, and it saves you from polling. Do not build anything that assumes delivery in under a minute.
Signup webhooks only deliver for organizations with Signup Signals enabled. Without it, you can still register an endpoint and use Send test successfully. But no live events will ever arrive.If your test works and real events never come, check your entitlement first.