How to Test WhatsApp Business Webhooks
WhatsApp Business Platform webhooks deliver inbound messages, message status updates, and account notifications via the Cloud API.
WhatsApp Business Official Webhook Docs1. WhatsApp Business Webhook Events
WhatsApp Business can send the following webhook events to your endpoint:
messagesmessage_status.deliveredmessage_status.readmessage_status.sentaccount_updatemessage_template_status_update2. Set Up a Test Endpoint with HookRay
Follow these steps to start receiving WhatsApp Business webhooks for testing:
- Go to HookRay and click "Start Testing — Free" to get your unique webhook URL.
- Copy the URL (e.g.,
https://h.hookray.com/abc123). - In your WhatsApp Business dashboard, navigate to the webhook settings and paste the HookRay URL as your endpoint.
- Select the events you want to receive (see list above).
- Trigger a test event — HookRay will show the incoming webhook in real-time.
3. Sample WhatsApp Business Webhook Payload
Here's an example of what a WhatsApp Business webhook payload looks like:
{
"object": "whatsapp_business_account",
"entry": [
{
"id": "WHATSAPP_BUSINESS_ACCOUNT_ID",
"changes": [
{
"value": {
"messaging_product": "whatsapp",
"messages": [
{
"from": "15551234567",
"id": "wamid.abc123xyz",
"timestamp": "1763588700",
"text": {
"body": "I need help with my order"
},
"type": "text"
}
]
},
"field": "messages"
}
]
}
]
}4. Common Issues & Troubleshooting
Webhook not arriving?
Check that your endpoint URL is correct and publicly accessible. WhatsApp Business cannot reach localhost URLs — use HookRay's cloud URL instead.
Getting 400 or 500 errors?
HookRay accepts any payload and returns 200 OK by default, so the issue is likely on WhatsApp Business's side. Check your webhook configuration and event selection.
Need to verify webhook signatures?
WhatsApp Business signs webhook requests for security. Use HookRay to capture the raw headers and body, then implement signature verification in your application code.
5. Next Steps
- Use HookRay's webhook replay feature to re-send captured webhooks while building your handler
- Enable smart parsing (Pro plan) to see WhatsApp Business-specific fields highlighted automatically
- Check the WhatsApp Business webhook documentation for the complete event reference
Ready to test WhatsApp Business webhooks?
Get a free webhook URL in 5 seconds. No signup required.
Start Testing WhatsApp Business Webhooks — Free