Accounts
GET
/accounts/{id}/stats

How this sender has performed over the last days: connection requests, acceptances, messages, replies and interested leads with period-over-period deltas, a daily activity series, all-time totals and rates, the per-campaign split, direct (non-campaign) action counts, and how much headroom is left against its daily and rolling-weekly caps.

Campaign sends and direct API sends are both counted. Daily series buckets are calendar days on the server's clock; the daily caps themselves reset at 00:00 UTC.

Authorization

bearerAuth
AuthorizationBearer <token>

An API key created under Settings → API & Webhooks.

In: header

Path Parameters

id*string

Query Parameters

days?integer

Size of the reporting window, clamped to 7-90 days.

Range7 <= value <= 90
Default30

Response Body

application/json

application/json

application/json

curl -X GET "https://example.com/accounts/string/stats"
{  "data": {    "generatedAt": "2019-08-24T14:15:22Z",    "days": 0,    "cards": {      "property1": {        "value": 0,        "deltaPct": 0,        "base": 0,        "baseLabel": "string"      },      "property2": {        "value": 0,        "deltaPct": 0,        "base": 0,        "baseLabel": "string"      }    },    "series": [      {        "date": "string",        "invites": 0,        "accepted": 0,        "messages": 0,        "replies": 0      }    ],    "lifetime": {      "leads": 0,      "invitesSent": 0,      "invitesAccepted": 0,      "messagesSent": 0,      "replies": 0,      "failed": 0,      "stalled": 0    },    "rates": {      "acceptance": 0,      "reply": 0    },    "interest": {      "interested": 0,      "not_interested": 0,      "untagged": 0    },    "byCampaign": [      {        "campaignId": "string",        "name": "string",        "status": "string",        "leads": 0,        "invitesSent": 0,        "accepted": 0,        "messagesSent": 0,        "replied": 0      }    ],    "poolCampaigns": [      {        "_id": "string",        "name": "string",        "status": "string"      }    ],    "actions": [      {        "type": "invitation",        "label": "string",        "count": 0      }    ],    "limits": {      "daily": [        {          "key": "string",          "label": "string",          "used": 0,          "limit": 0        }      ],      "rolling": [        {          "key": "connectionRequestsPerWeek",          "label": "string",          "used": 0,          "limit": 0        }      ],      "weeklyWindowDays": 0    }  }}