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

  • client
    • workflowNodeStarted (client.workflowNodeStarted)
  • server
    • assistantRequest (server.assistantRequest)
    • endOfCallReport (server.endOfCallReport)
    • statusUpdate (server.statusUpdate)
    • toolCalls (server.toolCalls)
    • transferDestinationRequest (server.transferDestinationRequest)

HTTP handler setup

app/api/webhook/route.ts

Events

Client

Workflow Node Started

client.workflowNodeStarted Sent when the active workflow node changes Payload
webhookHooks example

Server

Assistant Request

server.assistantRequest Sent to fetch assistant configuration for an incoming call Payload
webhookHooks example

End Of Call Report

server.endOfCallReport Sent at the end of a call with transcript, summary, and analysis Payload
webhookHooks example

Status Update

server.statusUpdate Sent when the call status changes Payload
webhookHooks example

Tool Calls

server.toolCalls Triggered when the assistant makes tool calls during a call Payload
webhookHooks example

Transfer Destination Request

server.transferDestinationRequest Triggered when processing a transfer destination request Payload
webhookHooks example