Webhooks
Overview
Webhooks allow Muchaw DEV to push real-time event notifications to your server. When a message is received, a delivery status changes, or a number is activated, Muchaw DEV sends an HTTP POST request to your configured webhook URLs.
This page covers your webhooks — the URLs Muchaw DEV calls on your server. This is separate from the internal Meta webhook that Muchaw DEV uses to receive events from Meta.
Available events
Creating a webhook
Response (save the secret — it is shown only once):
Filter by number
To only receive events for specific numbers, pass numberIds:
Verifying webhook signatures
Every webhook request from Muchaw DEV includes an X-Muchaw-Signature header with an HMAC-SHA256 signature.
Always verify this signature before processing the event.
Webhook payload structure
Retry policy
If your server returns a non-2xx response or times out, Muchaw DEV retries with exponential backoff:
After 3 failed attempts, the event is dropped. If a webhook accumulates 10 consecutive failures, it is automatically deactivated.
Rotating the secret
Update the secret in your server configuration before the old one expires.