Call Ended

This webhook event is fired when a call is ended

Parameters

Parent Type Description
EventType string Has the value “call_ended” for this event
call_id string A unique identifier for this call.
Example: 11-312298b3-12a342
parent_call_id string Id of parent call if this is a child call. Null if this is a parent call.
call_status string Call status of this call when it was ended.
reason string A hint as to why the call was ended.
from string Either a username or E164 number (+ prefixed)
to string Either a username or E164 number (+ prefixed)
duration integer The duration of the call from start to finish in seconds
billed_duration integer The part of the call where voice was exchanged in seconds
price decimal Total price of this call.
rate decimal Minute rate of this call.
free_minutes integer Free Minutes spent from call by this call in seconds.
date datetime ISO 8601 Formatted date string.