Email accounts
GET
/email-accounts/{id}/stats

How this mailbox has performed over the last days: emails sent, replies and bounces with period-over-period deltas, a daily series, all-time totals and rates, the per-campaign split, and the gateway counters. Emails are counted per message; replies and bounces per lead, and a reply is credited to the mailbox when the lead's latest message from the campaign was an email.

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/email-accounts/string/stats"
{  "data": {    "generatedAt": "2019-08-24T14:15:22Z",    "days": 0,    "cards": {      "emails": {        "value": 0,        "deltaPct": 0,        "base": 0,        "baseLabel": "string"      },      "replies": {        "value": 0,        "deltaPct": 0,        "base": 0,        "baseLabel": "string"      },      "bounces": {        "value": 0,        "deltaPct": 0,        "base": 0,        "baseLabel": "string"      },      "interested": {        "value": 0,        "deltaPct": 0,        "base": 0,        "baseLabel": "string"      },      "opens": {        "value": 0,        "deltaPct": 0,        "base": 0,        "baseLabel": "string"      },      "clicks": {        "value": 0,        "deltaPct": 0,        "base": 0,        "baseLabel": "string"      }    },    "series": [      {        "date": "string",        "emails": 0,        "replies": 0,        "bounces": 0,        "opens": 0,        "clicks": 0      }    ],    "lifetime": {      "leads": 0,      "leadsEmailed": 0,      "emailsSent": 0,      "replies": 0,      "bounces": 0,      "failed": 0,      "stalled": 0,      "emailsOpenTracked": 0,      "emailsOpened": 0,      "emailsClickTracked": 0,      "emailsClicked": 0    },    "rates": {      "reply": 0,      "bounce": 0,      "open": 0,      "click": 0    },    "interest": {      "interested": 0,      "not_interested": 0,      "untagged": 0    },    "byCampaign": [      {        "campaignId": "string",        "name": "string",        "status": "string",        "leads": 0,        "emailsSent": 0,        "replied": 0,        "bounced": 0,        "emailsOpenTracked": 0,        "emailsOpened": 0,        "emailsClickTracked": 0,        "emailsClicked": 0      }    ],    "poolCampaigns": [      {        "_id": "string",        "name": "string",        "status": "string"      }    ],    "counters": {      "sent": 0,      "bounced": 0,      "complained": 0,      "opened": 0,      "clicked": 0    },    "limits": {      "daily": 0    }  }}