GET
/
account
/
stat
Get All Account Stats
curl --request GET \
  --url https://api.sendpost.io/api/v1/account/stat \
  --header 'X-Account-ApiKey: <api-key>'
[
  {
    "date": "2020-03-12",
    "stats": {
      "processed": 1225,
      "delivered": 1200,
      "dropped": 10,
      "hardBounced": 10,
      "softBounced": 5,
      "opens": 150,
      "clicks": 130,
      "unsubscribed": 15,
      "spams": 12
    }
  },
  {
    "date": "2020-03-14",
    "stats": {
      "processed": 1340,
      "delivered": 1300,
      "dropped": 20,
      "hardBounced": 15,
      "softBounced": 5,
      "opens": 172,
      "clicks": 147,
      "unsubscribed": 5,
      "spams": 2
    }
  }
]

Authorizations

X-Account-ApiKey
string
header
required

This api key can be used for all account level operations

Query Parameters

from
string<date>
required

The start date for retrieving stats (inclusive)

Example:

"2020-03-12"

to
string<date>
required

The end date for retrieving stats (inclusive). The difference between from and to should not exceed 31 days.

Example:

"2020-04-14"

Response

200
application/json

A list of statistics for the specified date range.

The response is of type object[].