Webhook map
clientworkflowNodeStarted(client.workflowNodeStarted)
serverassistantRequest(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
| Name | Type | Required | Description |
|---|---|---|---|
message | object | Yes | — |
message full type
message full type
Response data full type
Response data full type
webhookHooks example
Server
Assistant Request
server.assistantRequest
Sent to fetch assistant configuration for an incoming call
Payload
| Name | Type | Required | Description |
|---|---|---|---|
message | object | Yes | — |
message full type
message full type
Response data full type
Response data full type
webhookHooks example
End Of Call Report
server.endOfCallReport
Sent at the end of a call with transcript, summary, and analysis
Payload
| Name | Type | Required | Description |
|---|---|---|---|
message | object | Yes | — |
message full type
message full type
Response data full type
Response data full type
webhookHooks example
Status Update
server.statusUpdate
Sent when the call status changes
Payload
| Name | Type | Required | Description |
|---|---|---|---|
message | object | Yes | — |
message full type
message full type
Response data full type
Response data full type
webhookHooks example
Tool Calls
server.toolCalls
Triggered when the assistant makes tool calls during a call
Payload
| Name | Type | Required | Description |
|---|---|---|---|
message | object | Yes | — |
message full type
message full type
Response data full type
Response data full type
webhookHooks example
Transfer Destination Request
server.transferDestinationRequest
Triggered when processing a transfer destination request
Payload
| Name | Type | Required | Description |
|---|---|---|---|
message | object | Yes | — |
message full type
message full type
Response data full type
Response data full type
webhookHooks example