Skip to main content
Webhooks push events to your server as they happen, so you can react to a completed check without polling. Manage them in the dashboard under Settings.

Events

A webhook subscribes to one or more events:

Setting one up

1

Add an endpoint

In the dashboard, add your https URL and choose the events to subscribe to.
2

Store the signing secret

A secret (whsec_...) is shown once when you create the webhook. Copy it and store it safely; it is what you use to verify incoming events.
3

Receive and verify

On each event, Pruva sends a signed POST to your URL. Verify the signature before trusting the payload.

Verifying the signature

Every delivery carries two headers: The signature is computed over the timestamp and the raw request body, joined by a dot:
Recompute it on your side with your signing secret and compare. If it matches, the event is authentic and unmodified.
Verify against the raw request body, exactly as received. If you parse the JSON first and re-serialize it, the bytes can change and the signature will not match. Read the raw body, verify, then parse.

Responding

Return a 2xx quickly to acknowledge receipt. Do the real work, updating your records, notifying a user, after you have acknowledged, so a slow task on your side does not hold the delivery open.
Only one webhook is needed to receive all your events; subscribe it to everything you care about. Webhooks are managed in Settings, not as a separate area.