Webhook map
callstatusUpdate(call.statusUpdate)
messagereceived(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
Response data full type
Response data full type
webhookHooks example
Message
Received
message.received
An incoming SMS/MMS message was received
Payload
Response data full type
Response data full type
webhookHooks example
Status Update
message.statusUpdate
A message delivery status changed (sent, delivered, failed, etc.)
Payload
Response data full type
Response data full type
webhookHooks example