FleetWorks sends webhook events to your configured server URL to provide real-time updates about call progress, outcomes, and extracted data. Each event includes relevant information about the call’s status and any associated data.

Call ended event payload

call_ended event is sent when a call is finished. It contains the call’s recording URL and a transcript of the conversation.

event
string
required

Event type: call_ended

callId
number
required

Unique call identifier

createdAt
string
required

Call created time

recordingUrl
string

URL to download call recording

formattedTranscript
string

Text transcription of the call

transcript
TranscriptMessage[]
extractedData
object

Extraction data from call’s transcript

Tool calls event payload

tool_calls events are sent during the call when a tool is called. It contains the function name and its arguments.

event
string
required

Event type: tool_calls

callId
number
required

Unique call identifier

createdAt
string
required

Call created time

function
ToolCallFunction

Transcript event payload

transcript events are sent in real-time during the call whenever new transcription data is received from the transcription service.

event
string
required

Event type: transcript

callId
number
required

Unique call identifier

createdAt
string
required

Call created time

formattedTranscript
string

Text transcription of the call

transcript
TranscriptMessage[]