Example Payload
Copy
{
"call_id": "call123",
"type": "phone_call",
"summary": "The call was very brief, consisting only of a greeting from the AI and a simple acknowledgment from the user saying \"Yes.\"",
"transcript": "AI: Hello.\nUser: Yes.\n",
"recordingUrl": "https://...mono.wav",
"stereoRecordingUrl": "https://...stereo.wav",
"durationMs": 7734,
"durationSeconds": 7.734,
"durationMinutes": 0.1289,
"cost": 0,
"startedAt": "2025-04-11T09:49:33.624Z",
"endedAt": "2025-04-11T09:49:41.358Z",
"endedReason": "customer-ended-call",
"messages": [
{
"role": "system",
"message": "This is a blank template with minimal defaults, you can change the model, temperature, and messages.",
"time": 1744364968450,
"secondsFromStart": 0
},
{
"role": "bot",
"message": "Hello.",
"time": 1744364970174,
"endTime": 1744364970494,
"secondsFromStart": 1.44,
"duration": 320,
"source": ""
},
{
"role": "user",
"message": "Yes.",
"time": 1744364973594,
"endTime": 1744364973994,
"secondsFromStart": 4.86,
"duration": 400.0002
}
]
}