event | string | The webhook event type (call.completed). |
data.leadId | string | The unique identifier for the lead. |
data.externalLeadId | string | The CRM lead ID (Salesforce, HubSpot, or Close CRM). |
data.phone | string | The phone number of the lead. |
data.profile | string | The customer profile assigned to the lead. |
data.callId | string | The unique identifier for the completed call. |
data.durationSeconds | number | The duration of the call in seconds. |
data.direction | string | The call direction: INBOUND or OUTBOUND. |
data.summary | string | undefined | Optional summary of the call conversation. |
data.isTransfer | boolean | undefined | Whether this is a direct transfer call. |
data.midCallTransfer | boolean | undefined | Whether the AI call transferred the lead mid-conversation. |
data.transfer | object | undefined | Final transfer outcome. Omitted for non-transfer calls or when no transfer was initiated. |
data.transfer.status | string | The final transfer status: connected or failed. |
data.transfer.type | string | The transfer type: WARM or COLD. |
data.transfer.transferNumber | string | undefined | The number used for the transfer, when available. |
data.transfer.durationSeconds | number | undefined | Duration of the transfer portion of the call. |
data.transfer.failureCode | string | undefined | Failure reason: agent_not_connected or lead_disconnected. |
timestamp | string | The ISO 8601 timestamp when the call was completed. |