Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.spotzee.com/llms.txt

Use this file to discover all available pages before exploring further.

Webhook endpoints let downstream systems receive events from Spotzee instead of polling. Spotzee tracks 27 delivery and reputation events across the email pipeline. You add an endpoint, pick which events you care about, and your endpoint receives signed JSON whenever those events fire.
Endpoint configuration is live today: you can create endpoints, subscribe to events, run test calls from the Spotzee UI, and rotate signing secrets right now. Outbound delivery of catalogued events is on the roadmap. Subscriptions you set up today will start receiving events once the dispatch loop ships. The test affordance lets you validate signature verification before that.
Webhook endpoint management lives under SettingsWebhook Endpoints and requires the project admin role.

Add an endpoint

1

Open Settings → Webhook Endpoints

Inside the project, open Settings and pick the Webhook Endpoints tab.
2

Create the endpoint

Choose Add endpoint, then complete:
  • Name. Recognisable label (for example, analytics-pipeline).
  • Description. Optional. Useful for documenting what the endpoint is for.
  • URL. Where Spotzee will POST events. Must be HTTPS.
  • Events. Pick the events to subscribe to. See the catalogue below.
3

Save

Save. Spotzee generates a signing secret and shows it once. Copy the secret into your endpoint’s secrets manager. Subsequent reads return the secret in masked form.

Pick events

The 27 events split into seven categories. Pick whichever match the signal you need.
CategoryEventsUse for
Queuequeue.queue-message-authenticated, queue.rescheduled, queue.quota-exceeded, delivery.concurrency-limit-exceededPipeline observability, capacity planning
Delivery lifecycledelivery.attempt-start, delivery.attempt-end, delivery.completedPer-attempt audit trail
Delivery successdelivery.deliveredThe “this landed” signal
Delivery bouncesdelivery.dsn-perm-fail, delivery.dsn-temp-fail, delivery.failed, delivery.mail-from-rejected, delivery.message-rejected, delivery.rcpt-to-rejected, delivery.rcpt-to-failedBounce classification, list hygiene
Delivery infrastructuredelivery.mx-lookup-failed, delivery.ip-lookup-failed, delivery.null-mx, delivery.connect-error, delivery.greeting-failed, delivery.ehlo-rejectedInfrastructure failures (DNS, network, SMTP handshake)
Delivery TLSdelivery.start-tls-error, delivery.start-tls-unavailable, delivery.implicit-tls-errorTLS negotiation failures
Reputationincoming-report.abuse-report, incoming-report.fraud-report, incoming-report.virus-reportSender-reputation feedback
You can subscribe to as many events as you like. Each event Spotzee sends carries the event type, the message identifier, the project identifier, and event-specific payload data. For the wire-level format (signature scheme, payload shape, retry policy plans), see Webhook conventions.

Test the endpoint

The test affordance fires a sample payload at your endpoint right now, before outbound delivery ships. Use it to validate that your signature verification works.
1

Open the endpoint

In SettingsWebhook Endpoints, open the row for the endpoint.
2

Run a test

Use the Send test action. Spotzee posts a sample payload signed with the test-path scheme: X-Spotzee-Signature: sha256=<hex> where the hex is the HMAC-SHA256 of the request body using your endpoint’s signing secret.
3

Verify the signature

Your endpoint should compute the same HMAC over the request body and compare it to the header value. A match confirms the request came from Spotzee. Reject any request whose signature doesn’t match.
The production-dispatch scheme will switch to a timestamped signing envelope (Spotzee-Signature: t=...,v1=...) when the outbound loop ships. Until then, build your verifier against the test scheme.

Rotate the signing secret

Rotate when a secret might have been exposed (committed to source, shared in a chat, leaked in a log).
1

Open the endpoint

In SettingsWebhook Endpoints, open the row for the endpoint.
2

Rotate the secret

Use the Rotate secret action. Spotzee generates a new signing secret and shows it once. Copy it into your secrets manager.
3

Update your verifier

Update your endpoint to use the new secret. Once outbound delivery ships, only the new secret is valid; the old secret stops verifying immediately on rotation.

Endpoint status

Endpoints carry one of three statuses:
StatusMeaning
activeEndpoint accepts events. The default after creation.
inactiveManually paused by an admin. No events are dispatched.
disabledAuto-disabled by Spotzee after persistent delivery failures. Re-enable manually after fixing the endpoint.
Inactive and disabled endpoints don’t dispatch events but their configuration is preserved. Re-enable to resume.

Next steps

Webhook conventions

The wire-level signing scheme and event payload shape.

Trigger a campaign

Send a campaign and watch its delivery events flow into your endpoint.

Manage API keys

Issue project keys for downstream integrations.

Concepts

Brush up on Users, Journeys, Segments, Channels, and Providers.