Skip to main content
Webhooks deliver real-time HTTP POST notifications to your backend servers whenever events occur across your agent mailboxes. Instead of continuously polling for new messages, webhooks let your agents respond instantly to inbound emails and delivery status changes.

Supported Event Types


Inbound Payload Example

When an event triggers, Wirebox dispatches a structured JSON payload to your webhook URL:

Authentication & Verification

Wirebox provides two complementary layers of authentication to ensure incoming webhooks originate legitimately from Wirebox.

1. Custom Auth Token (Bearer Authentication)

The simplest method. When registering a webhook endpoint, supply an optional auth_token:
Your receiving server simply checks this header:

2. Zero-Trust HMAC-SHA256 Verification

For cryptographic tamper-proofing, every webhook endpoint is issued a signing secret (whsec_...). Wirebox signs the payload using HMAC-SHA256 and includes the signature in the header:
The string to sign is constructed as:

Verification Function (Node.js / Web Crypto)


Idempotency & Retries

  • Idempotency: Every webhook payload contains a unique, stable id. If your server receives the same id more than once, safely acknowledge and discard the duplicate.
  • Automatic Retries: If your server returns a non-2xx status code or does not respond within 10 seconds, Wirebox retries delivery with exponential backoff up to 5 times.

To configure webhooks programmatically, refer to the REST API Reference: