v1

latestOpenAPI 3.0.12026-07-2691137122.3 KB
CallingService

List Call Sessions

get/api/v1/calling/call-sessions

Query parameters

pageinteger

Page number

page_sizeinteger

Results per page

agent_idstring

Filter by agent ID

statusstring

Filter by status

channelstring

Filter by channel

caller_numberstring

Filter by caller number

searchstring

Search term

sort_bystring

Sort field

sort_orderstring

Sort order (asc/desc)

started_afterstring

Filter after (ISO 8601)

started_beforestring

Filter before (ISO 8601)

Response

Successful response

successboolean
messagestring

Example response

{
  "success": true,
  "message": "<string>",
  "data": {
    "callSessions": [
      {
        "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
        }
      }
    ]
  }
}