Webhooks
Webhooks

A campaign finished every recipient.

Header Parameters

X-VAI-Signature*string

t=,v1=<hex HMAC-SHA256 of "."> with the webhook's signing secret. Verify it over the raw body, and reject a t more than five minutes old.

X-VAI-Event-Id?string

The event id, the same as the body's id. A retry or a redelivery repeats it, so de-duplicate on it.

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

Example Requests

A campaign finished every recipient.

POST/campaign.completed