v1

latestOpenAPI 3.1.02026-07-2438302.6 MB

Get Call Analytics

post/telephony/calls/analytics/comprehensive

Headers

x-api-keystring required

Request body

Response

typestring

Example response

{
  "type": "success",
  "data": {
    "stats": {
      "total_calls": {
        "count": 1011,
        "prev_percent": -6.73
      },
      "total_inbound": {
        "count": 846,
        "prev_percent": 14.95
      },
      "total_outbound": {
        "count": 165,
        "prev_percent": -52.59
      },
      "missed": {
        "count": 281,
        "prev_percent": 32.55
      },
      "avg_talk_time": {
        "count": 51.4516,
        "prev_percent": -17.04
      }
    },
    "calls_by_date": [
      {
        "date": "2025-11-30",
        "total": 8,
        "missed": 2,
        "inbound": 6
      }
    ],
    "call_tags_distribution": {
      "total_calls": 1011,
      "total_tagged_calls": 31,
      "untagged_count": 980,
      "untagged_percent": 97,
      "tags": [
        {
          "tag_uid": "6dfa9831-aa8f-4bce-b4d4-7730fce43990",
          "tag_name": "PM1",
          "count": 8,
          "percentage": 1
        }
      ]
    },
    "call_attributions_distribution": {
      "total_attributed_calls": 52,
      "attributions": [
        {
          "attribution_source": "OTHER",
          "attribution_name": "Other",
          "count": 50
        }
      ]
    },
    "calls_by_number": [
      {
        "number": "18023088109",
        "number_uid": "80efa19d-a304-4150-880f-2d879b6b2282",
        "display_name": "Mary",
        "total_count": 873,
        "duration_mins": 667,
        "duration_formatted": "11h 7m",
        "missed": 256
      }
    ],
    "call_sentiment_analysis": {
      "total_analyzed_calls": 31,
      "positive": {
        "count": 3,
        "percentage": 10
      },
      "neutral": {
        "count": 28,
        "percentage": 90
      }
    },
    "inbound_call_analytics": {
      "stats": {
        "total_inbound": {
          "count": 846,
          "prev_percent": 14.95
        },
        "missed": {
          "count": 281,
          "prev_percent": 32.55
        },
        "avg_waiting_duration": {
          "count": 9,
          "prev_percent": 12.5
        },
        "avg_inbound_talk_time": {
          "count": 60,
          "prev_percent": -27.26
        }
      },
      "calls_by_date": [
        {
          "date": "2025-11-30",
          "answered": 6,
          "missed": 2
        }
      ],
      "missed_call_breakdown": [
        {
          "reason": "NO_ANSWER",
          "reason_label": "Not Answered",
          "count": 2,
          "percentage": 0.7
        }
      ]
    },
    "outbound_call_analytics": {
      "stats": {
        "total_outbound": {
          "count": 165,
          "prev_percent": -52.59
        },
        "pickup_rate": {
          "count": 86.7,
          "prev_percent": -5.45
        },
        "avg_outbound_talk_time": {
          "count": 23,
          "prev_percent": -26.38
        }
      },
      "calls_by_date": [
        {
          "date": "2025-11-30"
        }
      ]
    }
  }
}