Webhooks
Harvestr webhooks let you receive real-time HTTP notifications when events occur in your workspace. When an event triggers (e.g. a feedback is created, a discovery is updated), Harvestr sends a POST request to your configured endpoint with the event payload.
Prerequisites
- A Harvestr workspace with the Webhooks feature enabled
- A publicly accessible HTTPS endpoint that can receive POST requests
Setup
- In Harvestr, go to Settings > Integrations > Harvestr Webhooks
- Click "+ Add a new Webhook to organization"
- Enter your endpoint URL in the Request URL field
- Click Validate — your endpoint must pass the challenge validation
- Optionally provide a Secret token for signature verification
- Select the events you want to subscribe to
- Click Create
Challenge validation
Before activating a webhook, Harvestr validates your endpoint with a challenge/response handshake:
- Harvestr sends a
POSTrequest to your URL with a JSON body:{ "challenge": "<random-uuid>" } - The request includes an
X-Harvestr-Signatureheader containing the HMAC-SHA256 signature of the body (using your secret token, or an empty string if none was provided) - Your endpoint must respond with a 2xx status code (200-208) within 5 seconds. The response body is ignored — no need to echo the challenge back. Redirects are not followed.
- On success, the result is cached for 1 hour — subsequent validations for the same URL will return immediately
If the challenge fails (non-2xx response, timeout, or network error), the webhook is not activated.
Webhook statuses
| Status | Description |
|---|---|
ACTIVE | Webhook is delivering events normally |
TOO_MANY_ERRORS | Automatically disabled after repeated delivery failures |
BLOCKED | Manually disabled |
Event delivery
When an event triggers, Harvestr sends a POST request to your URL:
- Timeout: 5 seconds
- Success: any 2xx status code (200-208)
- Failure: non-2xx response or network error
See the Events reference for the full list of events and their payloads.
See Security for details on HTTP headers and signature verification.