Skip to main content

API & developers

Receive webhook events

Add an HTTPS endpoint, verify signed deliveries, test it, and inspect failed attempts.

A webhook sends an event to your server when VIA data changes. Configure the endpoint in VIA, verify its signature against the unmodified request body, and inspect delivery history when it fails.

Steps

1

Prepare an HTTPS endpoint

Create a public HTTPS URL that accepts POST requests and returns a 2xx response quickly. Process longer work after acknowledging the delivery and make repeated events safe to handle.

2

Add the webhook

Open Settings, Webhooks, choose New webhook, and enter a name and endpoint URL. Add a strong shared secret, keep the webhook active, and save it.

New webhook form with endpoint URL and signing secret fields New webhook form with endpoint URL and signing secret fields
New webhook form with endpoint URL and signing secret fields
3

Verify each delivery

Read X-Webhook-Signature, calculate an HMAC-SHA256 digest of the raw request body with the shared secret, and compare the values in constant time before accepting the event.

4

Send a test event

Open the webhook and choose Test webhook. Confirm your endpoint receives the event and returns a success response, then review Deliveries for its status and response.

5

Monitor failures

Use the webhook detail and delivery history to check the last failure, response status, and attempt. Fix the endpoint before reactivating a webhook that repeatedly fails.

Manage webhooks

Tips

Signature verification must use the raw body bytes, before JSON parsing changes formatting.
Return a 2xx response quickly and process the event asynchronously.
Webhook access must be enabled for the account; contact support if Webhooks is not in Settings.

Related guides