GET
/
analytics
/
conversations
curl --request GET \
  --url https://api.wapikit.com/api/analytics/conversations
{
  "analytics": {
    "avgResponseTimeInMinutes": 123,
    "totalConversations": 123,
    "conversationsActive": 123,
    "conversationsClosed": 123,
    "conversationsPending": 123,
    "serviceConversations": 123,
    "inboundToOutboundRatio": 123,
    "conversationsAnalytics": [
      {
        "date": "2023-11-07T05:31:56Z",
        "label": "<string>",
        "numberOfActiveConversation": 123,
        "numberOfNewConversationOpened": 123
      }
    ],
    "messageTypeTrafficDistributionAnalytics": [
      {
        "type": "<string>",
        "sent": 123,
        "received": 123
      }
    ]
  }
}

Query Parameters

from
string

starting range of time span to get analytics for

to
string

ending range of time span to get analytics for

Response

200
application/json

conversations analytics graph data points

The response is of type object.