Skip to main content
GET
/
account
/
stat
/
aggregate
Get Account Aggregate Stats
curl --request GET \
  --url https://api.sendpost.io/api/v1/account/stat/aggregate \
  --header 'X-Account-ApiKey: <api-key>'
{
  "processed": 22500,
  "delivered": 20000,
  "dropped": 1000,
  "hardBounced": 1000,
  "softBounced": 500,
  "opens": 5000,
  "clicks": 3000,
  "unsubscribed": 500,
  "spams": 200
}

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 aggregated stats (inclusive)

Example:

"2019-01-01"

to
string<date>
required

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

Example:

"2019-12-31"

Response

Aggregated statistics for the specified date range.

processed
integer
Example:

22500

delivered
integer
Example:

20000

dropped
integer
Example:

1000

hardBounced
integer
Example:

1000

softBounced
integer
Example:

500

opens
integer
Example:

5000

clicks
integer
Example:

3000

unsubscribed
integer
Example:

500

spams
integer
Example:

200

I