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:Fields
Unique event ID. Use it to detect duplicates. See Delivery behaviour.
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:- Read the
X-Huntd-TimestampandX-Huntd-Signatureheaders. - Compute HMAC-SHA256 over
`${timestamp}.${rawBody}`, using your signing secret as the key. - Compare your result to
X-Huntd-Signature(after thesha256=prefix). - Reject the request if the timestamp is older than about 5 minutes.
Example receiver
This Express handler keeps the raw body, verifies it, replies fast, and ignores event types it does not know. It uses theverify 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.Unknown event types
Onlyevent: "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
Timing: this is not real-time
Timing: this is not real-time
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.
Entitlement: Signup Signals must be enabled
Entitlement: Signup Signals must be enabled
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.