High-deliverability email event webhooks are restricted to Enterprise customers with that service enabled. Standard delivery projects can still manage endpoint configuration where available, but they do not receive the Enterprise email event stream.
What you can configure
- Create, list, update, and delete webhook endpoints.
- Subscribe an endpoint to one or more enabled event types from the catalogue.
- Rotate the signing secret.
- Send a test payload to your endpoint to verify reachability and signature handling.
Delivery behaviour
- Live event deliveries use
Spotzee-Signature: t=<unix-ts>,v1=<hex-hmac-sha256>with replay protection. - Test deliveries from the Spotzee UI use
X-Spotzee-Signature: sha256=<hex>so you can verify endpoint reachability before relying on live traffic. - Failed endpoints may be disabled to prevent repeated delivery attempts to an unreachable URL.
Configure an endpoint
Create or rotate webhook endpoints from Settings → Webhook Endpoints in the Spotzee app, or via the Webhooks tag in the API reference. Each endpoint has:- A target URL (must be
https://). - A list of subscribed event types from the catalogue.
- A signing secret (issued on creation; rotate via
POST /webhooks/{endpointId}/rotate-secret).
Test a delivery
The webhook detail page in the Spotzee app exposes a Send test action that delivers a fixed test payload to your URL with a signed header. Use it to verify your receiver before relying on live event traffic. The test payload looks like this:X-Spotzee-Signature: sha256=<hex> header. The hex value is the HMAC-SHA256 of the JSON-stringified body using your endpoint’s signing secret. Verify by recomputing the HMAC on your side:
2xx, the Spotzee app marks the endpoint as disabled so an unreachable URL doesn’t accumulate failed deliveries. Re-enable from the same page once you’ve fixed the receiver.
Rotate the signing secret
CallPOST /webhooks/{endpointId}/rotate-secret, or use Settings → Webhook Endpoints → Rotate in the Spotzee app, to get a fresh signing secret. The plaintext value is returned exactly once on the rotate response. Persist it immediately.
The previous secret stops verifying deliveries the moment the rotate call returns. Plan the rotation for a brief window where missed test deliveries are acceptable.
Reference
- Webhook endpoint CRUD: see the Webhooks tag in the Main API reference.
- Enterprise email event catalogue: see Email delivery event webhooks.
Next steps
Errors
Status codes and the
code catalogue.Authentication
Choose the right key type for outgoing API calls.