GET
/
analytics
/
campaign
/
{campaignId}
cURL
curl --request GET \
  --url https://api.wapikit.com/api/analytics/campaign/{campaignId}
{
  "totalRecipients": 123,
  "messagesSent": 123,
  "messagesFailed": 123,
  "messagesDelivered": 123,
  "messagesUndelivered": 123,
  "messagesRead": 123,
  "totalMessages": 123,
  "conversationInitiated": 123,
  "responseRate": 123,
  "openRate": 123,
  "engagementRate": 123,
  "totalLinkClicks": 123,
  "engagementTrends": [
    {
      "date": "2023-11-07T05:31:56Z",
      "label": "<string>",
      "count": 123
    }
  ],
  "linkClicksData": [
    {
      "date": "2023-11-07T05:31:56Z",
      "label": "<string>",
      "count": 123
    }
  ],
  "messageAnalytics": [
    {
      "date": "2023-11-07T05:31:56Z",
      "label": "<string>",
      "sent": 123,
      "delivered": 123,
      "replied": 123,
      "read": 123
    }
  ]
}

Path Parameters

campaignId
string
required

The id value of the campaign you want to get analytics for.

Response

200
application/json

campaign analytics graph data points

The response is of type object.