Documentation Index
Fetch the complete documentation index at: https://developers.leadwaycrm.com/llms.txt
Use this file to discover all available pages before exploring further.
Returns a call log by callId.
GET https://services.leadconnectorhq.com/voice-ai/dashboard/call-logs/{callId}
Autorizacion
Bearer token generado desde el portal Leadway. Ver Autenticacion.
Version
string
default:"2021-07-28"
required
Version de la API.
Path parameters
callId
string
default:"507f1f77bcf86cd799439011"
required
Call ID
Query parameters
locationId
string
default:"LOC123456789ABCDEF"
required
Account ID
Respuestas
200 - Successfully retrieved call log
id
string
default:"507f1f77bcf86cd799439011"
required
Unique identifier for the call
contactId
string
default:"507f1f77bcf86cd799439012"
Associated contact ID
agentId
string
default:"507f1f77bcf86cd799439013"
required
Agent ID associated with the call
isAgentDeleted
boolean
default:"False"
required
Whether the agent is deleted
fromNumber
string
default:"+1234567890"
Caller phone number
createdAt
string
default:"2024-01-15T10:30:00.000Z"
required
Timestamp when the call was created
duration
number
default:"180"
required
Call duration in seconds
trialCall
boolean
default:"False"
required
Whether this call was a trial call
Actions performed during the call. Note: The APPOINTMENT_BOOKING action will only be visible in executedCallActions from Sep 9th 2025.
actionId
string
default:"507f1f77bcf86cd799439015"
Action ID reference
actionType
string
default:"SMS"
required
Action type Posibles valores: ‘CALL_TRANSFER’, ‘DATA_EXTRACTION’, ‘IN_CALL_DATA_EXTRACTION’, ‘WORKFLOW_TRIGGER’, ‘SMS’, ‘APPOINTMENT_BOOKING’, ‘CUSTOM_ACTION’, ‘KNOWLEDGE_BASE’
actionName
string
default:"Send SMS Confirmation"
required
Action name
Action parameters - structure varies by actionType
executedAt
string
default:"2024-01-15T10:32:00.000Z"
When the action was executed
triggerReceivedAt
string
default:"2024-01-15T10:31:45.000Z"
When the trigger was received
Transcript translation details
Dynamic data extracted from the call based on agent configuration
messageId
string
default:"507f1f77bcf86cd799439014"
Message identifier associated with the call
{
"id": "507f1f77bcf86cd799439011",
"contactId": "507f1f77bcf86cd799439012",
"agentId": "507f1f77bcf86cd799439013",
"isAgentDeleted": false,
"fromNumber": "+1234567890",
"createdAt": "2024-01-15T10:30:00.000Z",
"duration": 180,
"trialCall": false,
"executedCallActions": [
{
"actionId": "507f1f77bcf86cd799439015",
"actionType": "CALL_TRANSFER",
"actionName": "Transfer to Manager",
"actionParameters": {
"transferToType": "number",
"transferToValue": "+12345678901",
"triggerMessage": "Let me transfer you to a manager right away",
"hearWhisperMessage": true
},
"executedAt": "2024-01-15T10:32:00.000Z",
"triggerReceivedAt": "2024-01-15T10:31:45.000Z"
},
{
"actionId": "507f1f77bcf86cd799439016",
"actionType": "SMS",
"actionName": "Send Confirmation SMS",
"actionParameters": {
"triggerPrompt": "When caller asks for booking confirmation",
"triggerMessage": "I'll send you a confirmation text",
"messageBody": "Your appointment is confirmed for tomorrow at 2 PM"
},
"executedAt": "2024-01-15T10:33:30.000Z",
"triggerReceivedAt": "2024-01-15T10:33:15.000Z"
},
{
"actionId": "507f1f77bcf86cd799439017",
"actionType": "DATA_EXTRACTION",
"actionName": "Extract Phone Number",
// truncado: 124 lineas mas
}
Ejemplo
curl -X GET 'https://services.leadconnectorhq.com/voice-ai/dashboard/call-logs/YOUR_callId' \
-H 'Authorization: Bearer YOUR_TOKEN' \
-H 'Version: 2021-07-28'