Skip to main content
The Twilio 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

  • call
    • statusUpdate (call.statusUpdate)
  • message
    • received (message.received)
    • statusUpdate (message.statusUpdate)

HTTP handler setup

app/api/webhook/route.ts

Events

Call

Status Update

call.statusUpdate A call status changed (ringing, in-progress, completed, etc.) Payload
webhookHooks example

Message

Received

message.received An incoming SMS/MMS message was received Payload
webhookHooks example

Status Update

message.statusUpdate A message delivery status changed (sent, delivered, failed, etc.) Payload
webhookHooks example