Skip to main content
Instant Webhook pushes every incoming WhatsApp message and delivery update from your WhatsApp Business Account (WABA) to a URL on your server, the moment it happens. Use it to feed your CRM, database, chatbot, or any internal tool — no polling required.
There is no third-party platform in between. You call the Eazybe API with your token, and events are delivered straight from WhatsApp to your URL.

What you need

How it works

  1. You build a small HTTPS endpoint on your server (your callback URL).
  2. You call the create-subscription API with your callback URL and a secret verify token of your choice.
  3. WhatsApp (Meta) verifies your URL once with a simple handshake.
  4. From then on, every incoming message and delivery update for that WABA is sent to your URL as a JSON POST — instantly.

Set up in 4 steps

1

Get your API token

  1. Sign in to the Eazybe Workspace.
  2. In the left sidebar, go to WorkspaceStaff.
  3. In Organization Details, copy the Access code. This is your bearer token for all API calls below.
Keep the token on your server only. Never expose it in browser code, mobile apps, or public repositories.
2

Find your WABA ID

Call the phone-numbers endpoint — it returns every WABA connected to your organization:
In the response, copy accounts[].waba_id — that is the wabaId used in the next steps:
If this call returns no accounts, your WhatsApp Business Account is not yet connected to Eazybe. Connect it first from your Eazybe Workspace.
3

Build your callback endpoint

Your endpoint has two jobs:
  • Answer the one-time verification handshake. When you create the subscription, Meta sends a GET request to your URL with three query parameters: hub.mode, hub.verify_token, and hub.challenge. If hub.verify_token matches the secret you chose, respond 200 with the raw hub.challenge value.
  • Receive events. After verification, events arrive as POST requests with a JSON body. Respond 200 quickly and process the payload asynchronously.
Copy-paste starter code:
The endpoint must be publicly reachable over HTTPS and live before you create the subscription — the handshake happens during the create call. For local testing, use a tunnel such as ngrok or Cloudflare Tunnel.
4

Create the subscription

One API call — pass your callback URL and the verify token you used in your code:
That’s it — you are subscribed.

Test it

Send a WhatsApp message to your business number. Within seconds, your callback receives a POST like this:
Delivery updates (sent, delivered, read) arrive in the same format with a statuses array instead of messages. These are standard WhatsApp Cloud API webhook payloads.

Manage your subscription

Check whether a WABA is subscribed and which callback URL it uses:
An empty data array means the WABA is not subscribed. Stop receiving events:
Deleting the subscription stops all inbound message and delivery events for that WABA immediately. You can re-subscribe at any time with the create call.

Troubleshooting

API reference

List webhook subscriptions

Check whether a WABA is subscribed and review its configured callback.

Create webhook subscription

Subscribe a WABA to your HTTPS callback.

Delete webhook subscription

Remove the subscription when you no longer want to receive events.
Instant Webhook covers WhatsApp Business API (WABA) events. For WhatsApp Web extension events and chat-backup workflows, use Chat Backup Webhooks instead.