Skip to main content
The WhatsApp plugin handles incoming webhooks. Point your provider’s subscription URL at your Corsair HTTP handler (see Overview for setup context and the exact URL shape).
New to Corsair? See webhooks and hooks.

Webhook map

  • messages
    • received (messages.received)
    • statusChanged (messages.statusChanged)

HTTP handler setup

app/api/webhook/route.ts

Events

Messages

Received

messages.received Incoming WhatsApp messages from customers Payload
webhookHooks example

Status Changed

messages.statusChanged WhatsApp sent, delivered, read, failed, deleted, or error updates Payload
webhookHooks example