v1

latestOpenAPI 3.0.12026-07-2691137122.3 KB
ContactService

Get Contact Calls

get/api/v1/contacts/{id}/calls

Path parameters

idstring required

Contact ID

Response

Successful response

successboolean
messagestring

Example response

{
  "data": [
    {
      "id": "<string>",
      "agentId": "<string>",
      "organizationId": "<string>",
      "roomId": "<string>",
      "callerNumber": "<string>",
      "calleeNumber": "<string>",
      "callerName": "<string>",
      "callerEmail": "<string>",
      "channel": "<string>",
      "status": "<string>",
      "summary": "<string>",
      "metadata": {},
      "errorMessage": "<string>",
      "disconnectReason": "<string>",
      "promptDynamicVariables": {},
      "extractDynamicVariables": null,
      "callLatencyMs": 0,
      "startedAt": "<string>",
      "endedAt": "<string>",
      "durationSec": 0,
      "createdAt": "<string>",
      "recordingUrl": "<string>",
      "costTotal": "<string>",
      "agentName": "<string>",
      "postCallAnalysisResult": {},
      "creditBreakdown": {
        "channel": "<string>",
        "duration_sec": 0,
        "model_credits": 0,
        "provider_credits": 0,
        "provider_managed": true,
        "telephony_type": "<string>",
        "total_credits": 0
      }
    }
  ]
}