Skip to main content
GET
/
v1
/
analytics
/
email-time-series
cURL
curl --request GET \
  --url https://app.usesend.com/api/v1/analytics/email-time-series \
  --header 'Authorization: Bearer <token>'
{
  "result": [
    {
      "date": "<string>",
      "sent": 123,
      "delivered": 123,
      "opened": 123,
      "clicked": 123,
      "bounced": 123,
      "complained": 123
    }
  ],
  "totalCounts": {
    "sent": 123,
    "delivered": 123,
    "opened": 123,
    "clicked": 123,
    "bounced": 123,
    "complained": 123
  }
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Query Parameters

days
enum<string>

Number of days to retrieve data for (default: 30)

Available options:
7,
30
Example:

"30"

domainId
string

Filter by domain ID

Response

200 - application/json

Retrieve email time series data

result
object[]
required
totalCounts
object
required