The call.completed webhook event is triggered whenever a call is finished. This can be used to track call duration, direction, and capture call summaries for reporting and analytics.

Payload

{
  "event": "call.completed",
  "data": {
    "leadId": "c4f23a1b-d8e5-4f67-90c1-2a5b8d3e9x7y",
    "phone": "+12025550189",
    "profile": "Default Profile",
    "callId": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
    "durationSeconds": 145,
    "direction": "INBOUND",
    "summary": "Customer inquired about pricing and requested a follow-up meeting."
  },
  "timestamp": "2024-01-15T14:30:00Z"
}

Properties

PropertyTypeDescription
eventstringThe webhook event type (call.completed).
data.leadIdstringThe unique identifier for the lead.
data.phonestringThe phone number of the lead.
data.profilestringThe customer profile assigned to the lead.
data.callIdstringThe unique identifier for the completed call.
data.durationSecondsnumberThe duration of the call in seconds.
data.directionstringThe call direction: INBOUND or OUTBOUND.
data.summarystring | undefinedOptional summary of the call conversation.
timestampstringThe ISO 8601 timestamp when the call was completed.