GET/features/webhooks200OK

WhatsApp Webhook API

// Receive instant notifications for incoming messages, delivery receipts, presence updates, and group events. Choose webhooks for push delivery or SSE for persistent streaming.

No credit card required · 14-day free trial
GET/features/webhooks/use-cases200OK

Use Cases

use-case/customer-support-bots.ts
ready

Customer Support Bots

Instantly route incoming messages to your helpdesk or chatbot. React to customer queries in milliseconds, not minutes.

use-case/order-notifications.ts
ready

Order Notifications

Trigger real-time order updates when customers reply with confirmation codes or shipping preferences.

use-case/crm-integration.ts
ready

CRM Integration

Push every WhatsApp conversation into Salesforce, HubSpot, or your custom CRM. Keep contact history synced automatically.

use-case/analytics-pipelines.ts
ready

Analytics Pipelines

Stream message events to your data warehouse. Track delivery rates, response times, and engagement metrics in real time.

POST/features/webhooks/example200OK

Code Examples

// Copy, paste, ship

configure-webhook.sh
curl -X PUT https://api.wsapi.chat/instances/{instanceId}/webhook \
  -H "x-api-key: your-api-key" \
  -H "Content-Type: application/json" \
  -d '{
    "url": "https://your-app.com/webhooks/whatsapp",
    "events": ["message", "message.ack", "presence.update"]
  }'

Key Features

Two Delivery Modes

HTTP webhooks (push) or SSE (persistent stream) — use both simultaneously

Event Filtering

Subscribe only to events you need; reduce noise and bandwidth

Automatic Retries

Failed webhook deliveries retry with exponential backoff (up to 5 attempts)

Signature Verification

HMAC-SHA256 signatures on every webhook payload for security

Low Latency

Events delivered within 100ms of WhatsApp server receipt

No Extra Cost

Webhooks and SSE included in every plan, no per-event fees

GET/features/webhooks/faq200OK

Frequently Asked Questions

$ wsapi cloud --start

Get started today

// Start a 14-day free trial with no credit card required

Explore more