Webhooks
Webhooks push real-time HTTPS notifications to your backend whenever WhatsApp messages arrive, change delivery status, or are echoed from a connected WhatsApp Business mobile app.
Supported Webhook Events
| Event Type | Label | Trigger |
|---|---|---|
message.incoming | Incoming Message | A customer sends a message to your WhatsApp number (selected by default). |
message.outgoing.status_update | Message Status Update | An outbound message updates to sent, delivered, or read. |
message.smb_echo | SMB Message Echo | A message is sent directly from your connected WhatsApp Business mobile app or linked device (Coexistence). |
Creating a Webhook Subscription
Open Webhooks Settings
Navigate to Settings > Webhooks and click Add Webhook.
Configure Target Channel & Endpoint
- WhatsApp Channel (required): Select the WhatsApp number to monitor (one channel per subscription).
- Reference Name (required): Internal identifier (1–100 characters).
- Platform / System (required): Target system label (1–100 characters, automatically uppercased).
- Endpoint URL (required): Public
http://orhttps://URL that acceptsPOSTJSON payloads. - Subscribed Events (required): Select at least one event type.
Add a Secret Token for Signature Verification (Recommended)
Enter an optional Secret Token. WhatsBox signs every webhook request using HMAC-SHA256 and sends the hex digest in the X-WhatsBox-Signature HTTP header so your server can verify requests are authentic.
Editing, Deleting & System-Managed Webhooks
- Edit / Rotate Secret: Open any webhook to update its URL, events, or click Change Secret to rotate the signing token (or leave blank and save to remove the secret). Stored secrets display masked (
****xxxx). - Delete: Removes the subscription immediately. (Note: Webhooks do not have a pause/disable toggle—delete a subscription to stop deliveries.)
- System Managed (Slack): Subscriptions labeled
System Managed (Slack)(platform: SLACK_BRIDGE) power your Slack Bridge and are read-only (Edit and Delete are disabled).
Troubleshooting
| Issue | Cause & Fix |
|---|---|
| Webhook signature verification fails | Verify your server computes HMAC-SHA256 over the raw request body using your exact Secret Token and compares it against the X-WhatsBox-Signature header. |
| Edit and Delete buttons are disabled on a webhook | That webhook is System Managed (Slack) and managed automatically by your Slack Bridge integration. |
| Not receiving mobile app replies in webhook | Make sure message.smb_echo is checked in Subscribed Events for your Coexistence channel. |
Developer API & API Keys
Create, deactivate, rename, and revoke WhatsBox API keys and build custom WhatsApp Business API integrations with the official REST API.
Google Sheets Add-on
Send personalized Meta-approved WhatsApp template messages directly from Google Sheets spreadsheets with dynamic column mapping and live status tracking.