JavaScript SDK: swarmhit.stats.get()
Campaign, lead-progress and sender-account counts broken down by status (plus a paused-sender count), plus outreach totals.
Authorization
bearerAuth AuthorizationBearer <token>
An API key created on the Access tokens page.
In: header
Response Body
application/json
application/json
curl -X GET "https://example.com/stats"{ "data": { "campaigns": { "total": 0, "byStatus": { "property1": 0, "property2": 0 } }, "campaignProgress": { "total": 0, "byStatus": { "property1": 0, "property2": 0 } }, "accounts": { "total": 0, "byStatus": { "property1": 0, "property2": 0 }, "paused": 0 }, "totals": { "invitesSent": 0, "invitesAccepted": 0, "replies": 0 } }}