Skip to main content
After pairing your instance, configure how you want to receive event notifications (messages, chats, group updates, etc.) at wsapi.chat/app/settings. In the Instance Setting Defaults section, you can select the Event Delivery mode (Webhook or Pull Mode with SSE).

Event delivery modes

In Webhook mode, WSAPI Cloud sends events to a public endpoint you specify via HTTP POST requests with a JSON payload.

Configuration

FieldDescriptionRequired
Webhook URLYour public HTTPS endpoint that will receive eventsYes
Event Signature SecretSecret used to sign webhook events for verificationRecommended
Always configure signature verification for webhook events to validate the legitimacy of incoming webhook calls. Without it, anyone who discovers your webhook URL could send fake events.

How it works

  1. An event occurs on your WhatsApp instance (e.g., new message received)
  2. WSAPI sends a POST request to your webhook URL with the event payload
  3. Your server processes the event and returns a 200 response
See the Events overview for payload formats and delivery details.

Per-instance vs. global settings

The event delivery mode you select in the dashboard applies as a default for all instances. However, you can override this on a per-instance basis under the Instance Settings section in the instance details page. This allows you to have different instances using different delivery modes if needed. When overriding settings for an instance, event filtering will also be applied based on the instance’s specific configuration.