What inbound webhooks are for
If an external system needs to trigger a WhatsApp message when something happens elsewhere — a receipt is generated, an order ships, an appointment is booked — you don’t have to write custom integration code. You configure a webhook endpoint in Switchbord, map the external event’s fields to an approved template’s variables, and the external system POSTs to that endpoint whenever the event occurs.Generated endpoint
Each webhook configuration gets its own URL under
/api/v1/inbound-webhooks/{slug} — no shared secret across configurations.Template mapping
The Settings builder loads your approved Utility templates and lets you map each variable from a payload field, a literal, or a JSON value.
Configuring one
Inbound webhooks are configured from Settings → Integrations → Webhooks & API:- Click Create webhook.
- Select an approved Utility template.
- Map the template’s variables to fields in your external system’s payload.
- Paste a sample payload and run the dry-run preview to confirm the mapping resolves correctly — this happens entirely in the browser and never sends a message.
- Create the webhook once the preview passes. The signing secret is shown once — copy it into your external system’s secret store immediately, since Switchbord only ever stores a hash after that.
Authenticating requests
Every request must carry a timestamped HMAC signature over the raw request body, generated with the one-time secret shown at creation. Switchbord verifies this with a timing-safe comparison before touching the mapping or queueing anything. The full signature format and a working code sample live in Inbound webhooks.Meta’s webhooks (the other direction)
Separately, your WhatsApp number needs Meta configured to send its webhooks to Switchbord — this is what makes messages show up in your Inbox in the first place. That’s a one-time setup step covered in Webhook Setup, and the operational model behind it (envelope storage, verification, replay) is documented in Webhook Operations.See also
- Webhook Setup — configuring Meta to deliver WhatsApp events to your workspace.
- Webhook Operations — the internal envelope model, monitoring, and replay tooling.
- Inbound webhooks — the full authentication and mapping reference for your own integrations.
- Inbound webhook dry-run rollout — current promotion status and safe testing steps.