cURL
curl --request GET \ --url https://api.wapikit.com/api/analytics/aggregate-counts
{ "aggregateAnalytics": { "messageStats": { "totalMessages": 123, "messagesSent": 123, "messagesFailed": 123, "messagesDelivered": 123, "messagesUndelivered": 123, "messagesRead": 123, "messagesUnread": 123 }, "conversationStats": { "totalConversations": 123, "conversationsActive": 123, "conversationsClosed": 123, "conversationsPending": 123 }, "campaignStats": { "totalCampaigns": 123, "campaignsDraft": 123, "campaignsScheduled": 123, "campaignsRunning": 123, "campaignsPaused": 123, "campaignsCancelled": 123, "campaignsFinished": 123 }, "contactStats": { "totalContacts": 123, "contactsActive": 123, "contactsBlocked": 123 } } }
returns aggregate counts of all analytics.
starting range of time span to get analytics for
ending range of time span to get analytics for
messaging analytics graph data points
The response is of type object.
object
Was this page helpful?